Auto merge of #1611 - RalfJung:timing-tests, r=RalfJung
increase timeout to avoid spurious test failures just saw this fail on macOS in PR CI, so add some extra safety margin
This commit is contained in:
commit
e4840ef4c9
@ -109,7 +109,7 @@ fn check_conditional_variables_timed_wait_notimeout() {
|
||||
cvar.notify_one();
|
||||
});
|
||||
|
||||
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(200)).unwrap();
|
||||
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(500)).unwrap();
|
||||
assert!(!timeout.timed_out());
|
||||
handle.join().unwrap();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user