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

tests: fix ping pong saturation #3390

Merged
merged 3 commits into from Jan 21, 2021

Conversation

blasrodri
Copy link
Contributor

Signal the tasks driving the ping pong to stop running after spawning
a few others. After that, awaits for each of them to ensure that all ran properly.

Fixes #3305

Motivation

Solution

Signal the tasks driving the ping pong to stop running after spawning
a few others. After that, awaits for each of them to ensure that all ran properly.

Fixes tokio-rs#3305
tokio/tests/rt_common.rs Outdated Show resolved Hide resolved
tokio/tests/rt_common.rs Outdated Show resolved Hide resolved
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime labels Jan 7, 2021
tokio/tests/rt_common.rs Outdated Show resolved Hide resolved
Co-authored-by: Alice Ryhl <alice@ryhl.io>
@Darksonn Darksonn merged commit 117fc2e into tokio-rs:master Jan 21, 2021
@blasrodri blasrodri deleted the ping-pong-saturation-test branch January 21, 2021 11:25
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 M-runtime Module: tokio/runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix ping_pong_saturation test
2 participants