Fix flaky tests in GoogleCloudStorageBlobStoreRepositoryTests, S3BlobStoreRepositoryTests, AzureBlobStoreRepositoryTests#18290
Merged
andrross merged 1 commit intoopensearch-project:mainfrom May 14, 2025
Conversation
…StoreRepositoryTests, AzureBlobStoreRepositoryTests Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
Contributor
Author
Contributor
|
❌ Gradle check result for 8c42ae9: 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? |
Member
|
This is great @kkewwei, thank you! |
andrross
approved these changes
May 14, 2025
Contributor
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18290 +/- ##
============================================
+ Coverage 72.48% 72.60% +0.11%
- Complexity 67357 67432 +75
============================================
Files 5488 5488
Lines 311023 311023
Branches 45217 45217
============================================
+ Hits 225444 225809 +365
+ Misses 67282 66829 -453
- Partials 18297 18385 +88 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
|
A couple thoughts here for posterity:
|
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
May 14, 2025
…StoreRepositoryTests, AzureBlobStoreRepositoryTests (#18290) Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]> (cherry picked from commit bde7db5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
andrross
pushed a commit
that referenced
this pull request
May 14, 2025
…StoreRepositoryTests, AzureBlobStoreRepositoryTests (#18290) (#18298) (cherry picked from commit bde7db5) Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
tanik98
pushed a commit
to tanik98/OpenSearch
that referenced
this pull request
May 27, 2025
…StoreRepositoryTests, AzureBlobStoreRepositoryTests (opensearch-project#18290) Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
tandonks
pushed a commit
to tandonks/OpenSearch
that referenced
this pull request
Jun 1, 2025
…StoreRepositoryTests, AzureBlobStoreRepositoryTests (opensearch-project#18290) Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
neuenfeldttj
pushed a commit
to neuenfeldttj/OpenSearch
that referenced
this pull request
Jun 26, 2025
…StoreRepositoryTests, AzureBlobStoreRepositoryTests (opensearch-project#18290) Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>Signed-off-by: TJ Neuenfeldt <[email protected]>
neuenfeldttj
pushed a commit
to neuenfeldttj/OpenSearch
that referenced
this pull request
Jun 26, 2025
…StoreRepositoryTests, AzureBlobStoreRepositoryTests (opensearch-project#18290) Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
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.
Description
I run test with
tests.seed=9D496123288AF73FinS3BlobStoreRepositoryTests. testSnapshotAndRestore, and find that every request will retry 3 times, andsleepwithbackoff policy, it will cost too much time, which will lead to flaky tests.Request is as follows:
GET /bucket?list-type=2&delimiter=%2F&prefix=index-PUT /bucket/r10011100011010/indices/Hfd8LcIaQmu_nAtfzC7YJg/5/__Qf9SKHinSJWqsxDYO2QrpwRelated Issues
Resolves #14291 #14299 #11493
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.