Skip to content

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

Merged
reta merged 1 commit into
2.xfrom
backport/backport-17193-to-2.x
Jan 30, 2025
Merged

[Backport 2.x] Fix flaky TransportMultiSearchActionTests.testCancellation#17196
reta merged 1 commit into
2.xfrom
backport/backport-17193-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
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 <froh@amazon.com>
(cherry picked from commit 6f644e1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 0c0ad63: SUCCESS

@codecov
Copy link
Copy Markdown

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
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