Skip to content

Commit 8cd3383

Browse files
authored
time: reduce iteration count in short_sleeps test (#6052)
1 parent d6ed00c commit 8cd3383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/tests/time_sleep.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async fn greater_than_max() {
189189

190190
#[tokio::test]
191191
async fn short_sleeps() {
192-
for _ in 0..10000 {
192+
for _ in 0..1000 {
193193
tokio::time::sleep(std::time::Duration::from_millis(0)).await;
194194
}
195195
}

0 commit comments

Comments
 (0)