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

[flaky-test] BrokerManagedAsyncExecutorProviderTest#testRejectHandler #14814

Merged

Conversation

DaniilRoman
Copy link
Contributor

#14651

It might be possible that the test executes all 10 tasks sequentially one after another. In this case, the test fails.

The change: phaser::arriveAndAwaitAdvance triggers a waisting for the phaser.arriveAndDeregister(); call.
But by doing this I explicitly overflow the thread pool.

@DaniilRoman DaniilRoman marked this pull request as ready for review January 14, 2025 22:39
Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tibrewalpratik17 Can you help take a look?

@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.77%. Comparing base (59551e4) to head (8622d32).
Report is 1582 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14814      +/-   ##
============================================
+ Coverage     61.75%   63.77%   +2.02%     
- Complexity      207     1611    +1404     
============================================
  Files          2436     2707     +271     
  Lines        133233   151209   +17976     
  Branches      20636    23344    +2708     
============================================
+ Hits          82274    96429   +14155     
- Misses        44911    47542    +2631     
- Partials       6048     7238    +1190     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.74% <ø> (+2.04%) ⬆️
java-21 63.65% <ø> (+2.03%) ⬆️
skip-bytebuffers-false 63.77% <ø> (+2.02%) ⬆️
skip-bytebuffers-true 63.61% <ø> (+35.88%) ⬆️
temurin 63.77% <ø> (+2.02%) ⬆️
unittests 63.76% <ø> (+2.02%) ⬆️
unittests1 56.33% <ø> (+9.44%) ⬆️
unittests2 34.05% <ø> (+6.32%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Jackie-Jiang Jackie-Jiang merged commit df71f20 into apache:master Jan 17, 2025
21 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.

4 participants