Skip to content

Commit 1a2d180

Browse files
committed
increase allowable sleep time
1 parent 10c79a7 commit 1a2d180

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/pass-dep/tokio/sleep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ async fn main() {
1010
// It takes 96 millisecond to sleep for 1 millisecond
1111
// It takes 1025 millisecond to sleep for 1 second
1212
let time_elapsed = &start.elapsed().as_millis();
13-
assert!((1000..2000).contains(time_elapsed), "{}", time_elapsed);
13+
assert!((1000..2500).contains(time_elapsed), "{}", time_elapsed);
1414
}

0 commit comments

Comments
 (0)