From e308eeb3f13b6ee8665f9d10a3b184383431fdeb Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 27 Jan 2021 10:43:59 +0100 Subject: [PATCH] rustup; more slack for timing tests --- rust-version | 2 +- tests/run-pass/concurrency/sync.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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