time: reduce iteration count in short_sleeps test (#6052)

This commit is contained in:
Alice Ryhl
2023-10-05 22:03:27 +00:00
committed by GitHub
parent d6ed00c292
commit 8cd3383913
+1 -1
View File
@@ -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;
}
}