From 855a2ad285e4279d1eb7ec15020cfc9e4ca69618 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 19 Sep 2022 22:57:26 +0200 Subject: [PATCH] give macOS more time --- tests/pass/concurrency/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pass/concurrency/sync.rs b/tests/pass/concurrency/sync.rs index 268153b612a..16bdc03f109 100644 --- a/tests/pass/concurrency/sync.rs +++ b/tests/pass/concurrency/sync.rs @@ -81,7 +81,7 @@ fn check_conditional_variables_timed_wait_notimeout() { cvar.notify_one(); }); - let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(500)).unwrap(); + let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(1000)).unwrap(); assert!(!timeout.timed_out()); handle.join().unwrap(); }