give macOS more time

This commit is contained in:
Ralf Jung 2022-09-19 22:57:26 +02:00
parent f0c6f0d1bf
commit 855a2ad285

View File

@ -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();
}