Serialize integTestRemote on remote clusters to avoid index wipe races#1654
Merged
jackiehanyang merged 1 commit intoopensearch-project:mainfrom Jan 29, 2026
Merged
Serialize integTestRemote on remote clusters to avoid index wipe races#1654jackiehanyang merged 1 commit intoopensearch-project:mainfrom
jackiehanyang merged 1 commit intoopensearch-project:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1654 +/- ##
============================================
- Coverage 81.32% 81.28% -0.05%
+ Complexity 6242 6238 -4
============================================
Files 544 544
Lines 25323 25323
Branches 2621 2621
============================================
- Hits 20595 20584 -11
- Misses 3418 3428 +10
- Partials 1310 1311 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
integTestRemote can run multiple forks against a shared remote cluster, so @after cleanup in ODFERestTestCase deletes .opendistro-anomaly-detectors while other tests are mid‑request, causing 404s in SecureADRestIT and other REST ITs. When tests.rest.cluster is set, this PR forces integTestRemote to run serially (maxParallelForks=1, forkEvery=0) to avoid cross‑test index wipe races. Signed-off-by: kaituo <kaituo@amazon.com>
jackiehanyang
approved these changes
Jan 29, 2026
This was referenced Feb 11, 2026
Merged
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
integTestRemote can run multiple forks against a shared remote cluster, so @after cleanup in ODFERestTestCase deletes .opendistro-anomaly-detectors while other tests are mid‑request, causing 404s in SecureADRestIT and other REST ITs. This PR fixes the problem. When tests.rest.cluster is set, force integTestRemote to run serially (maxParallelForks=1, forkEvery=0) to avoid cross‑test index wipe races.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff.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.