Fix flaky test failures in ShardsLimitAllocationDeciderIT#20375
Fix flaky test failures in ShardsLimitAllocationDeciderIT#20375andrross merged 5 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
📝 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)
✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. 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.33% 73.26% -0.07%
+ Complexity 72125 72086 -39
============================================
Files 5798 5798
Lines 329654 329697 +43
Branches 47491 47508 +17
============================================
- Hits 241741 241566 -175
- Misses 68504 68757 +253
+ Partials 19409 19374 -35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Craig Perkins <cwperx@amazon.com>
…-project#20375) Signed-off-by: Craig Perkins <cwperx@amazon.com>
…-project#20375) Signed-off-by: Craig Perkins <cwperx@amazon.com>
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.