From f0921bd5dc0de7dddebdd9a08d3636473ae980cf Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 23 May 2022 17:35:36 +0200 Subject: [PATCH] rustup --- 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 b3496efafdd..983b23fe228 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -9e2f65586366b731f13a10021c5191a664f4adc2 +32c8c5df06c025441ad04791d7982d65c79a60e4 diff --git a/tests/run-pass/concurrency/sync.rs b/tests/run-pass/concurrency/sync.rs index 303d49e3c33..6889aad91cf 100644 --- a/tests/run-pass/concurrency/sync.rs +++ b/tests/run-pass/concurrency/sync.rs @@ -91,7 +91,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 <= 800); + assert!(100 <= elapsed_time && elapsed_time <= 1000); } /// Test that signaling a conditional variable when waiting with a timeout works