diff --git a/tokio/tests/time_sleep.rs b/tokio/tests/time_sleep.rs index 76dd0628124..e51502ec11b 100644 --- a/tokio/tests/time_sleep.rs +++ b/tokio/tests/time_sleep.rs @@ -271,11 +271,10 @@ async fn exactly_max() { async fn less_than_max() { time::pause(); - let big = std::time::Duration::from_secs(u64::MAX/100); + let big = std::time::Duration::from_secs(u64::MAX / 10); time::sleep(big).await; } - #[tokio::test] async fn no_out_of_bounds_close_to_max() { time::pause();