-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled #15204
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15204 +/- ##
============================================
+ Coverage 71.89% 71.97% +0.08%
- Complexity 63496 63523 +27
============================================
Files 5244 5244
Lines 296836 296836
Branches 42860 42860
============================================
+ Hits 213401 213652 +251
+ Misses 65966 65650 -316
- Partials 17469 17534 +65 ☔ View full report in Codecov by Sentry. |
server/src/test/java/org/opensearch/cluster/service/MasterServiceTests.java
Show resolved
Hide resolved
@sumitasr I don't think we saw this test failing in the past. What changed? I would feel better about removing the assertions here if we fully understand what changed to make this test intermittently fail when in the past it never failed. |
Fixed. Incorrect assert was added. |
❌ Gradle check result for afa9b91: 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? |
Test Result (no failures) Looks like need to rerun again |
Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
❌ Gradle check result for 30e379a: 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? |
Following is the failure log in build. Looks like issue with test run infra setup.
|
Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
❌ Gradle check result for 2819a90: 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? |
❕ Gradle check result for a32ae3a: 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. |
Failed due to Test Result (2 failures / +2)
Need to retry build |
Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
…bugEnabled (#15204) (#15597) * Fix test MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled (cherry picked from commit b23c9de) Signed-off-by: Sumit Bansal <sumitsb@amazon.com> 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>
…bugEnabled (opensearch-project#15204) * Fix test MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
…bugEnabled (opensearch-project#15204) * Fix test MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
…bugEnabled (opensearch-project#15204) * Fix test MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
…bugEnabled (opensearch-project#15204) * Fix test MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled Signed-off-by: Sumit Bansal <sumitsb@amazon.com>
Description
Fix flaky test MasterServiceTests.testClusterStateUpdateLoggingWithDebugEnabled
Related Issues
Resolves #15117
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.