From 8cd3383913e343b01e43b2bf4a36e466eaba3216 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Fri, 6 Oct 2023 00:03:27 +0200 Subject: [PATCH] time: reduce iteration count in short_sleeps test (#6052) --- tokio/tests/time_sleep.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/tests/time_sleep.rs b/tokio/tests/time_sleep.rs index 4afcc12c1..6da7ada03 100644 --- a/tokio/tests/time_sleep.rs +++ b/tokio/tests/time_sleep.rs @@ -189,7 +189,7 @@ async fn greater_than_max() { #[tokio::test] async fn short_sleeps() { - for _ in 0..10000 { + for _ in 0..1000 { tokio::time::sleep(std::time::Duration::from_millis(0)).await; } }