Skip to content

Commit e308eeb

Browse files
committed
rustup; more slack for timing tests
1 parent 755a322 commit e308eeb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a8f707553276a15565860af3d415aae18428aa96
1+
78e22069d018e83915201c8a218a0a94227f6420

tests/run-pass/concurrency/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fn check_conditional_variables_timed_wait_timeout() {
9292
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(100)).unwrap();
9393
assert!(timeout.timed_out());
9494
let elapsed_time = now.elapsed().as_millis();
95-
assert!(100 <= elapsed_time && elapsed_time <= 300);
95+
assert!(100 <= elapsed_time && elapsed_time <= 500);
9696
}
9797

9898
/// Test that signaling a conditional variable when waiting with a timeout works

0 commit comments

Comments
 (0)