-
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 flakiness of RemoteRestoreSnapshotIT.testClusterManagerFailoverDuringSnapshotCreation #17589
Conversation
❌ Gradle check result for 31ed84c: 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? |
…ringSnapshotCreation Signed-off-by: Igonin <[email protected]> Co-authored-by: Benny Goerzig <[email protected]> Co-authored-by: Karsten Schnitter <[email protected]> Co-authored-by: Kai Sternad <[email protected]>
❕ Gradle check result for ec11e44: 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 #17589 +/- ##
============================================
+ Coverage 72.27% 72.49% +0.21%
- Complexity 65611 65809 +198
============================================
Files 5311 5311
Lines 304942 304946 +4
Branches 44225 44226 +1
============================================
+ Hits 220407 221077 +670
+ Misses 66448 65778 -670
- Partials 18087 18091 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thank you for fixing this test! |
Description
The test case org.opensearch.remotestore.RemoteRestoreSnapshotIT.testClusterManagerFailoverDuringSnapshotCreation is flaky.
The test allows snapshot creation to fail and, if it does, verifies that the repository does not include its ID. In this scenario, the snapshot is not created - its snapshot info will be
null
- which leads to an NPE.Related Issues
Resolves #14324
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.