Skip to content
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

[Backport 2.x] Fix flaky TransportMultiSearchActionTests.testCancellation #17196

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 6f644e1 from #17193.

I recently added this test, but incorrectly placed a
CountDownLatch#await call on the test thread. With this change, we
actually kick off the request, return control to the testy thread,
cancel the request, then continue executing.

Signed-off-by: Michael Froh <[email protected]>
(cherry picked from commit 6f644e1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

✅ Gradle check result for 0c0ad63: SUCCESS

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.95%. Comparing base (2187369) to head (0c0ad63).
Report is 5 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #17196      +/-   ##
============================================
- Coverage     71.98%   71.95%   -0.03%     
+ Complexity    65987    65941      -46     
============================================
  Files          5341     5341              
  Lines        307114   307132      +18     
  Branches      44824    44825       +1     
============================================
- Hits         221068   221008      -60     
- Misses        67608    67620      +12     
- Partials      18438    18504      +66     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reta reta merged commit ffed717 into 2.x Jan 30, 2025
71 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants