Skip to content

Remove scheduling races from executor tests. - #6

Merged
samuel-williams-shopify merged 2 commits into
mainfrom
fix/io-uring-shutdown-test
Oct 4, 2026
Merged

samuel-williams-shopify merged 2 commits into
mainfrom
fix/io-uring-shutdown-test

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Remove timing assumptions from executor tests that could make CI fail intermittently.

The native I/O shutdown test now remains pending after registering its read, so scheduler shutdown observes task cancellation instead of racing a second read. The detached-task test now uses a pending future and explicitly cancels it after dropping the join handle, avoiding a race where a ready task finished before the assertion.

@samuel-williams-shopify samuel-williams-shopify changed the title Keep the I/O shutdown test pending until cancellation. Remove scheduling races from executor tests. Oct 4, 2026
@samuel-williams-shopify
samuel-williams-shopify merged commit 76a960f into main Oct 4, 2026
33 of 35 checks passed
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