[fix][test] Make ClusterMigrationTest.testClusterMigrationWithReplicationBacklog more robust#25330
Open
merlimat wants to merge 2 commits intoapache:masterfrom
Open
[fix][test] Make ClusterMigrationTest.testClusterMigrationWithReplicationBacklog more robust#25330merlimat wants to merge 2 commits intoapache:masterfrom
merlimat wants to merge 2 commits intoapache:masterfrom
Conversation
…tionBacklog more robust Replace retryStrategically with Awaitility.await() for better wait semantics and clearer assertions. Use generous timeouts for operations that can be slow: replicator reconnection after broker restart (60s), producer redirect with exponential backoff (90s), and broker restart/replicator setup (20-30s).
|
@merlimat Please add the following content to your PR description and select a checkbox: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #25330 +/- ##
============================================
+ Coverage 72.25% 72.78% +0.52%
+ Complexity 33963 2461 -31502
============================================
Files 1954 1954
Lines 154639 154691 +52
Branches 17698 17700 +2
============================================
+ Hits 111732 112585 +853
+ Misses 33884 33067 -817
- Partials 9023 9039 +16
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
retryStrategicallywithAwaitility.await()for better wait semantics and clearer assertion error messages on failureTest plan
[x Run
ClusterMigrationTest.testClusterMigrationWithReplicationBacklogmultiple times to verify reduced flakinessdocdoc-requireddoc-not-neededdoc-complete