give macOS some extra time, it needs that

This commit is contained in:
Ralf Jung 2023-11-30 14:29:54 +01:00
parent a0c8b09cf8
commit cd12440933

View File

@ -83,7 +83,7 @@ fn check_conditional_variables_timed_wait_notimeout() {
cvar.notify_one(); 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()); assert!(!timeout.timed_out());
handle.join().unwrap(); handle.join().unwrap();
} }