Skip to content

Conversation

@bensheldon
Copy link
Contributor

@bensheldon bensheldon commented Dec 10, 2025

Experienced this flake on CI. I believe the spec was skipped in JRuby because it was flakey because the latch is released before the task is complete.

The change is to shutdown the threadpool before asserting on completed_task_count to ensure the task fully runs through.

@bensheldon bensheldon merged commit 4e340ed into ruby-concurrency:master Dec 11, 2025
16 checks passed
@bensheldon bensheldon deleted the fix-flaky-threadpool-test branch December 11, 2025 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant