Fix for RemoteIndexPrimaryRelocationIT Flaky test#21249
Conversation
PR Reviewer Guide 🔍(Review updated until commit bc32048)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to bc32048 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit bc32048
Suggestions up to commit a5e0cde
Suggestions up to commit f99e571
Suggestions up to commit af8ec38
Suggestions up to commit 2f6d1cb
|
|
Persistent review updated to latest commit dae38ed |
|
Persistent review updated to latest commit 2f6d1cb |
|
❌ Gradle check result for 2f6d1cb: 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? |
|
Persistent review updated to latest commit af8ec38 |
|
❌ Gradle check result for af8ec38: 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? |
|
Persistent review updated to latest commit f99e571 |
|
❌ Gradle check result for f99e571: ABORTED 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 Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21249 +/- ##
============================================
+ Coverage 73.34% 73.42% +0.07%
- Complexity 74223 74261 +38
============================================
Files 5958 5958
Lines 337309 337309
Branches 48664 48664
============================================
+ Hits 247408 247668 +260
+ Misses 70188 69865 -323
- Partials 19713 19776 +63 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi @andrross, just a gentle nudge—please review the PR whenever it’s convenient for you. Thankyou ! |
Signed-off-by: Divya <divyruhil999@gmail.com>
Signed-off-by: Divya <divyruhil999@gmail.com>
Signed-off-by: Divya <divyruhil999@gmail.com>
Signed-off-by: Divya <divyruhil999@gmail.com>
|
Persistent review updated to latest commit a5e0cde |
|
Hi @andrross, please let me know if there are any more review comments. Would appreciate it if you could review when you have time. |
|
Persistent review updated to latest commit bc32048 |
|
❌ Gradle check result for bc32048: 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? |
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit f0373c1. 'Diff too large, requires skip by maintainers after manual review' Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
|
Persistent review updated to latest commit bc32048 |
|
❕ Gradle check result for bc32048: 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. |
…#21249) Signed-off-by: Divya <divyruhil999@gmail.com> Co-authored-by: DIVYA2 <DIVYA2@ibm.com> Co-authored-by: Divya <divyruhil999@gmail.com> Co-authored-by: Andrew Ross <andrross@amazon.com>
…#21249) Signed-off-by: Divya <divyruhil999@gmail.com> Co-authored-by: DIVYA2 <DIVYA2@ibm.com> Co-authored-by: Divya <divyruhil999@gmail.com> Co-authored-by: Andrew Ross <andrross@amazon.com>
Description
The test was failing with IllegalArgumentException: [move_allocation] can't move 0, failed to find it on node due to a race condition. The parent class IndexPrimaryRelocationIT was:
relocationSource = relocationTargetafter each iterationFix Applied:
ClusterState currentState = client().admin().cluster().prepareState().get().getState();inside the looprelocationSource = relocationTarget;since we now fetch the actual location each timeRelated Issues
Resolves #20872
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.