mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
time: reduce iteration count in short_sleeps test (#6052)
This commit is contained in:
@@ -189,7 +189,7 @@ async fn greater_than_max() {
|
|||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn short_sleeps() {
|
async fn short_sleeps() {
|
||||||
for _ in 0..10000 {
|
for _ in 0..1000 {
|
||||||
tokio::time::sleep(std::time::Duration::from_millis(0)).await;
|
tokio::time::sleep(std::time::Duration::from_millis(0)).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user