Skip to content

Commit

Permalink
time: reduce iteration count in short_sleeps test (#6052)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn authored Oct 5, 2023
1 parent d6ed00c commit 8cd3383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/tests/time_sleep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8cd3383

Please sign in to comment.