We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48cdd43 commit 0015c26Copy full SHA for 0015c26
tokio/tests/time_sleep.rs
@@ -274,6 +274,7 @@ async fn issue_5183() {
274
let big = std::time::Duration::from_secs(u64::MAX / 10);
275
// This is a workaround since awaiting sleep(big) will never finish.
276
tokio::select! {
277
+ biased;
278
_ = tokio::time::sleep(big) => {}
279
_ = tokio::time::sleep(std::time::Duration::from_nanos(1)) => {}
280
}
0 commit comments