-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix flaky Cosmos DB tests and critical NullPointerException bugs in CI #48064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kushagraThapar
merged 54 commits into
Azure:main
from
kushagraThapar:kushagrathapar/fix-additional-flaky-cosmos-tests
Mar 3, 2026
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
54def19
Initial plan
Copilot a63af21
Fix flaky tests - improve timing and assertions
Copilot a14e8e7
Fix additional flaky tests - increase timeouts and add retry analyzer
Copilot 95e09e1
Fix bulk query and Spark metrics race conditions
Copilot b3de6ed
Fix NullPointerException in circuit breaker tests - lazy init regions
Copilot 479b995
Fix additional flaky tests - increase timeouts and add retry analyzers
Copilot b21694c
Address code review feedback - improve exception handling and NPE safety
Copilot 0f35ec1
Fix flaky PartitionControllerImplTests.handleMerge - relax acquire ve…
Copilot 7265d8c
Fix flaky PointWriterITest.createItemWithDuplicates - increase retry …
Copilot f375096
Fix flaky write retry tests - add retry analyzers and increase retry …
Copilot 1954acc
Fix flaky SparkE2EWriteITest.supportUpserts - wait for onTaskEnd call…
Copilot 2f76986
Fix ContainerCreateDeleteWithSameNameTest.bulk - increase indexing de…
Copilot 26dfc86
Fix PointWriterITest.upsertItemsIfNotModified - use eventually block …
Copilot 94d4b9a
Fix Scala compilation error - convert Int to Long for type compatibility
Copilot 5736061
Merge branch 'main' into copilot/fix-flaky-tests-java-ci
kushagraThapar f48378e
Fix PartitionControllerImplTests.handleMerge - relax create verificat…
Copilot dc5c46b
Fix PartitionControllerImplTests.handleMerge - relax release verifica…
Copilot 1d7cde2
Fix additional flaky Cosmos DB tests beyond PR #48025
kushagraThapar 86cf1c4
Fix ReproTest assertion and increase ClientRetryPolicyE2ETests timeouts
kushagraThapar bb5686a
Add transient error retry to TestSuiteBase create methods
kushagraThapar 75049e9
Fix remaining flaky tests from CI run buildId=5909542
Copilot 963b2c7
Fix PartitionControllerImplTests.handleMerge - relax updateProperties…
Copilot 9f99207
Merge branch 'copilot/fix-flaky-tests-java-ci' of github.com:Azure/az…
kushagraThapar a6cc421
Update sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/r…
kushagraThapar cb6394e
Update sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/r…
kushagraThapar 085e502
Update sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/i…
kushagraThapar b227221
Update sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/c…
kushagraThapar e01f179
Update sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/E…
kushagraThapar 60cab29
Replace fixed sleeps with retry-based polling for CI resilience
kushagraThapar 2a5ecf9
Add missing static import for Mockito.timeout in PartitionControllerI…
kushagraThapar 8ce5655
Fix PartitionControllerImplTests.handleMerge race condition
kushagraThapar 9fa0a11
Fix flaky Cosmos DB tests for CI stability
kushagraThapar b6046ae
Fix PointWriterITest.upsertItemsIfNotModified indexing race condition
kushagraThapar 5269dc0
Fix ExcludeRegionTests and add retry for transient CI failures
kushagraThapar 0375371
Fix CosmosBulkGatewayTest 409 conflict in setup and upgrade FI test r…
kushagraThapar 2617356
Merge branch 'main' into kushagrathapar/fix-additional-flaky-cosmos-t…
kushagraThapar d6c194a
Fix flaky Cosmos tests: add retry analyzers and polling waits
kushagraThapar 98d8e01
Fix additional flaky Cosmos tests for CI stability
kushagraThapar 76f877f
Fix flaky tests: add retryAnalyzer, increase e2e timeout, resilient c…
kushagraThapar ad2cc42
Fix flaky tests: add retry analyzers and increase 429 retry resilience
kushagraThapar 6da00d0
Fix flaky tests: retry analyzers, timeouts, client leak prevention
kushagraThapar 578e384
Fix flaky tests: ResourceTokenTest cleanup and IncrementalChangeFeedP…
kushagraThapar 8a78419
Fix cascading test failures with retry logic in @BeforeClass setup me…
kushagraThapar 30048f8
Fix CosmosItemTest.readManyWithTwoSecondariesNotReachable for Strong …
kushagraThapar 98452ad
Fix ReadQuorumNotMet error message missing String.format
kushagraThapar c68210e
Fix ContainerCreateDeleteWithSameNameTest.bulk flakiness
kushagraThapar c47a46e
Fix flaky tests: 429 backoff, FI write timeout, retry analyzer, resil…
kushagraThapar fb2a594
Fix PointWriterITest.upsertItemsIfNotModified metrics race condition
kushagraThapar c74119f
Fix flaky tests: conflicts retry, FI setup retry, timeout increase
kushagraThapar a463297
Address all PR #48064 review comments
kushagraThapar b7d041c
Fix compilation error: lambda requires effectively final variable
kushagraThapar e092d8f
Fix SessionRetryOptionsTests flaky duration assertion
kushagraThapar 1a2e343
Fix CosmosItemWriteRetriesTest.upsertItem flakiness
kushagraThapar e769107
Merge branch 'main' into kushagrathapar/fix-additional-flaky-cosmos-t…
FabianMeiswinkel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.