-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix flaky tests in RemoteStoreStatsIT #17535
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
Conversation
Signed-off-by: Ashish Singh <[email protected]>
|
❌ Gradle check result for 12a112b: 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? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17535 +/- ##
============================================
+ Coverage 72.40% 72.43% +0.03%
- Complexity 65683 65708 +25
============================================
Files 5311 5311
Lines 304890 304891 +1
Branches 44213 44213
============================================
+ Hits 220743 220850 +107
+ Misses 66045 65997 -48
+ Partials 18102 18044 -58 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks for the fix @ashking94 🙌 |
|
Before this change, the tests |
Signed-off-by: Ashish Singh <[email protected]> (cherry picked from commit c48efd0) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ashish Singh <[email protected]>
Signed-off-by: Ashish Singh <[email protected]>
Signed-off-by: Ashish Singh <[email protected]>
Signed-off-by: Ashish Singh <[email protected]>
…opensearch-project#17546) Signed-off-by: Ashish Singh <[email protected]>
…opensearch-project#17546) Signed-off-by: Ashish Singh <[email protected]>
* Fix flaky tests in RemoteStoreStatsIT (#17535) Signed-off-by: Ashish Singh <[email protected]> * Fix compilation issue for PR #17535 during backport (#17546) Signed-off-by: Ashish Singh <[email protected]> --------- Signed-off-by: Ashish Singh <[email protected]>
Signed-off-by: Ashish Singh <[email protected]> Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
…opensearch-project#17546) Signed-off-by: Ashish Singh <[email protected]> Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Description
This PR addresses flakiness in remote store download stats correctness tests by improving test reliability and consistency.
Problem
The existing remote store download stats tests (
testDownloadStatsCorrectnessSinglePrimarySingleReplicaandtestDownloadStatsCorrectnessSinglePrimaryMultipleReplicaShards) were experiencing intermittent failures due to:Solution
waitForReplication()method to ensure consistent replication stateRelated Issues
Resolves #14310
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.