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

Implement a test scheduler that propagates panics #3218

Closed
wants to merge 1 commit into from

Conversation

kstrafe
Copy link

@kstrafe kstrafe commented Dec 5, 2020

This patch implements a new scheduler that does not capture unwinds. It
instead lets unwinds bubble up.

This is useful in test cases where we might be interested in detached
tasks' panics. Not all applications are interested in letting tasks
fail, so this scheduler makes the implementation of testing such
applications or libraries much easier.

Tentative solution to:

#3217

This patch implements a new scheduler that does not capture unwinds. It
instead lets unwinds bubble up.

This is useful in test cases where we might be interested in detached
tasks' panics. Not all applications are interested in letting tasks
fail, so this scheduler makes the implementation of testing such
applications or libraries much easier.
@Darksonn Darksonn added A-tokio Area: The main tokio crate C-enhancement Category: A PR with an enhancement or bugfix. M-runtime Module: tokio/runtime labels Dec 6, 2020
@Darksonn
Copy link
Contributor

Closing in favor of #4770

@Darksonn Darksonn closed this Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate C-enhancement Category: A PR with an enhancement or bugfix. M-runtime Module: tokio/runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants