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

metrics: don't hang in injection_queue_depth_multi_thread test #6862

Conversation

Darksonn
Copy link
Contributor

This makes injection_queue_depth_multi_thread fail normally instead of hanging. This change was suggested in #6847, but does not actually fix the flakiness.

cc @jofas

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-metrics Module: tokio/runtime/metrics labels Sep 23, 2024
Copy link
Member

@mox692 mox692 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I missed this issue related to injection_queue_depth test.
(I approved this PR the other day, but it would be ideal to be able to figure out what's going on here before the next release...)

@Darksonn Darksonn merged commit 82628b8 into tokio-rs:master Sep 24, 2024
81 checks passed
@Darksonn Darksonn deleted the alice/injection_queue_depth_multi_thread_nohang branch September 24, 2024 06:34
@Darksonn
Copy link
Contributor Author

It may be easier to debug with a loom test ... though right now I think metrics are disabled under loom.

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-metrics Module: tokio/runtime/metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants