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 f2e23c0 commit 234eefdCopy full SHA for 234eefd
tests/oidc/mod.rs
@@ -643,7 +643,7 @@ async fn test_slow_token_endpoint_does_not_freeze_server() {
643
644
// Let the TCP round-trip complete so awc reads HTTP headers,
645
// then advance past the body-read timeout.
646
- tokio::time::sleep(Duration::from_millis(50)).await;
+ tokio::task::yield_now().await;
647
tokio::time::pause();
648
tokio::time::advance(Duration::from_secs(60)).await;
649
0 commit comments