Skip to content

Commit e23e0b2

Browse files
committed
Auto merge of #1692 - RalfJung:rustup, r=RalfJung
rustup; more slack for timing tests
2 parents 755a322 + e308eeb commit e23e0b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a8f707553276a15565860af3d415aae18428aa96
1+
78e22069d018e83915201c8a218a0a94227f6420

tests/run-pass/concurrency/sync.rs

+1-1
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)