Commit 19922d2
ChangeFeed tests: Adds DoNotParallelize to env-var-dependent test classes
Both DocumentServiceLeaseManagerCosmosTests and GremlinSmokeTests
mutate the AZURE_COSMOS_CHANGE_FEED_LEASE_ID_AS_PARTITION_KEY_ENABLED
environment variable, which is process-wide state. Without
DoNotParallelize, concurrent test classes could overwrite each
other's env var values, causing flaky failures.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 829afe6 commit 19922d2
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- Microsoft.Azure.Cosmos/tests
- Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed
- Microsoft.Azure.Cosmos.Tests/ChangeFeed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments