diff --git a/rust-version b/rust-version index d4006f955da..af4bc45869d 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -a8f707553276a15565860af3d415aae18428aa96 +78e22069d018e83915201c8a218a0a94227f6420 diff --git a/tests/run-pass/concurrency/sync.rs b/tests/run-pass/concurrency/sync.rs index e97da415cbb..88187d64e60 100644 --- a/tests/run-pass/concurrency/sync.rs +++ b/tests/run-pass/concurrency/sync.rs @@ -92,7 +92,7 @@ fn check_conditional_variables_timed_wait_timeout() { let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(100)).unwrap(); assert!(timeout.timed_out()); let elapsed_time = now.elapsed().as_millis(); - assert!(100 <= elapsed_time && elapsed_time <= 300); + assert!(100 <= elapsed_time && elapsed_time <= 500); } /// Test that signaling a conditional variable when waiting with a timeout works