-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix Flaky Test SpecificClusterManagerNodesIT.testElectOnlyBetweenClusterManagerNodes #17640
base: main
Are you sure you want to change the base?
Fix Flaky Test SpecificClusterManagerNodesIT.testElectOnlyBetweenClusterManagerNodes #17640
Conversation
❌ Gradle check result for eb0a6a8: 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? |
…terManagerNodes Signed-off-by: kkewwei <[email protected]> Signed-off-by: kkewwei <[email protected]>
eb0a6a8
to
91b5b6d
Compare
❌ Gradle check result for 91b5b6d: 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? |
@gaobinlon, could you review it in your spare time. |
❕ Gradle check result for 91b5b6d: 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17640 +/- ##
=========================================
Coverage 72.44% 72.45%
+ Complexity 65732 65707 -25
=========================================
Files 5311 5311
Lines 305011 305011
Branches 44232 44232
=========================================
+ Hits 220969 220983 +14
+ Misses 65967 65905 -62
- Partials 18075 18123 +48 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
When we call the code, the cluster manager is being removed from cluster, it will happen in
internalCluster().nonClusterManagerClient()
orgetClusterManagerNode()
:https://github.com/opensearch-project/OpenSearch/blob/main/server/src/internalClusterTest/java/org/opensearch/cluster/SpecificClusterManagerNodesIT.java#L63C9-L79C10
internalCluster().nonClusterManagerClient()
, which hit the case in Fix Flaky Test SpecificClusterManagerNodesIT.testElectOnlyBetweenClusterManagerNodes #16021.getClusterManagerNode()
, which hit the current case, and we will fix it in the pr. Details can be seen in [BUG] org.opensearch.cluster.SpecificClusterManagerNodesIT.testElectOnlyBetweenClusterManagerNodes is flaky #16015 (comment)Related Issues
Resolves #15944 #16015
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.