-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix flaky test failures in ShardsLimitAllocationDeciderIT #20375
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
📝 WalkthroughWalkthroughThe PR adds a changelog entry and updates a test: Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (21)
Comment |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
❌ Gradle check result for e8fba2b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for e8fba2b: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
❕ Gradle check result for bc221a8: 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20375 +/- ##
============================================
- Coverage 73.30% 73.20% -0.10%
+ Complexity 71777 71707 -70
============================================
Files 5784 5784
Lines 328141 328153 +12
Branches 47269 47270 +1
============================================
- Hits 240531 240214 -317
- Misses 68329 68652 +323
- Partials 19281 19287 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
This PR is a similar attempt to #19762 to fix flaky tests in ShardsLimitAllocationDeciderIT
See example failure here: https://build.ci.opensearch.org/job/gradle-check/69672/testReport/junit/org.opensearch.cluster.routing.allocation.decider/ShardsLimitAllocationDeciderIT/testCombinedClusterAndIndexSpecificShardLimits__p0___opensearch_experimental_feature_writable_warm_index_enabled___true___/
Related Issues
Resolves #19726
Stable with 100x runs. Fails a few runs consistently in a batch of 100 iters without this fix.
Check List
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.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.