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

Fix flakey test QueuedThreadPoolTest.testThreadPool #9623

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

lorban
Copy link
Contributor

@lorban lorban commented Apr 4, 2023

Fixes #9622.

Changed the wait loops to use awaitility, and ensure that the tested values are staying stable for a reasonable duration to avoid benign races in the thread counters.

@lorban lorban self-assigned this Apr 4, 2023
@lorban lorban marked this pull request as ready for review April 4, 2023 08:58
@lorban lorban requested a review from sbordet April 4, 2023 08:58
gregw
gregw previously approved these changes Apr 5, 2023
…s are stable for a certain duration

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
@lorban lorban merged commit 9ff24ea into jetty-10.0.x Apr 5, 2023
2 checks passed
@lorban lorban deleted the fix/jetty-10-fix-flakey-qtp-test branch April 5, 2023 16:52
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.

Flakey test QueuedThreadPoolTest.testThreadPool
3 participants