give macOS some extra time, it needs that
This commit is contained in:
parent
a0c8b09cf8
commit
cd12440933
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user