-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 flakiness in testDontAllowSwitchingCompatibilityModeForClusterWit… #13281
Conversation
…hMultipleVersions Signed-off-by: Lakshya Taragi <[email protected]>
❌ Gradle check result for 8701a41: 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13281 +/- ##
============================================
- Coverage 71.48% 71.43% -0.05%
+ Complexity 60670 60655 -15
============================================
Files 5040 5040
Lines 285456 285456
Branches 41338 41338
============================================
- Hits 204044 203905 -139
- Misses 64589 64705 +116
- Partials 16823 16846 +23 ☔ View full report in Codecov by Sentry. |
…hMultipleVersions (#13281) Signed-off-by: Lakshya Taragi <[email protected]> (cherry picked from commit 61ff5f8) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…hMultipleVersions (#13281) (#13287) (cherry picked from commit 61ff5f8) Signed-off-by: Lakshya Taragi <[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>
…hMultipleVersions
Description
org.opensearch.action.support.clustermanager.TransportClusterManagerNodeActionTests.testDontAllowSwitchingCompatibilityModeForClusterWithMultipleVersions
.randomCompatibleVersion(random(), version1)
to pickversion2
which does not guaranteeversion2
being different fromversion1
leading to an assertion failure atassert version1.equals(version2) == false
Related Issues
Resolves #13240
Check List
New functionality includes testing.All tests passNew functionality has been documented.New functionality has javadoc addedFailing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)Commit changes are listed out in CHANGELOG.md file (See: Changelog)Public documentation issue/PR createdBy 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.