-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix flaky tests fromSegmentReplicationAllocationIT
#17429
Fix flaky tests fromSegmentReplicationAllocationIT
#17429
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17429 +/- ##
============================================
- Coverage 72.49% 72.45% -0.05%
+ Complexity 65717 65697 -20
============================================
Files 5303 5304 +1
Lines 304793 304981 +188
Branches 44202 44238 +36
============================================
+ Hits 220966 220979 +13
- Misses 65693 65881 +188
+ Partials 18134 18121 -13 ☔ View full report in Codecov by Sentry. |
SegmentReplicationAllocationIT.testAllocationAndRebalanceWithDisruption
Signed-off-by: Lakshya Taragi <[email protected]>
Signed-off-by: Lakshya Taragi <[email protected]>
Signed-off-by: Lakshya Taragi <[email protected]>
Signed-off-by: Lakshya Taragi <[email protected]>
Signed-off-by: Lakshya Taragi <[email protected]>
Signed-off-by: Lakshya Taragi <[email protected]>
b799100
to
0651098
Compare
SegmentReplicationAllocationIT.testAllocationAndRebalanceWithDisruption
SegmentReplicationAllocationIT
❕ Gradle check result for 0651098: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Flaky test from #16145 |
* Fix flaky tests in SegmentReplicationAllocationIT Signed-off-by: Lakshya Taragi <[email protected]> * Remove extra logs Signed-off-by: Lakshya Taragi <[email protected]> * Account for replicas as well Signed-off-by: Lakshya Taragi <[email protected]> * Reduce upper limit on no. of indices Signed-off-by: Lakshya Taragi <[email protected]> * Only verified changes Signed-off-by: Lakshya Taragi <[email protected]> * Fix testSingleIndexShardAllocation Signed-off-by: Lakshya Taragi <[email protected]> --------- Signed-off-by: Lakshya Taragi <[email protected]> (cherry picked from commit e397903) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ect#17429) * Fix flaky tests in SegmentReplicationAllocationIT Signed-off-by: Lakshya Taragi <[email protected]> * Remove extra logs Signed-off-by: Lakshya Taragi <[email protected]> * Account for replicas as well Signed-off-by: Lakshya Taragi <[email protected]> * Reduce upper limit on no. of indices Signed-off-by: Lakshya Taragi <[email protected]> * Only verified changes Signed-off-by: Lakshya Taragi <[email protected]> * Fix testSingleIndexShardAllocation Signed-off-by: Lakshya Taragi <[email protected]> --------- Signed-off-by: Lakshya Taragi <[email protected]>
Description
testAllocationAndRebalanceWithDisruption
10 * 2 * (1 + 2)
) which was causing transport related failures unrelated to the scope of the test.testSingleIndexShardAllocation
Related Issues
Resolves #14327
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.