Skip to content

Commit e4840ef

Browse files
committed
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
2 parents 8f36839 + 2a4faf6 commit e4840ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/concurrency/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn check_conditional_variables_timed_wait_notimeout() {
109109
cvar.notify_one();
110110
});
111111

112-
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(200)).unwrap();
112+
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(500)).unwrap();
113113
assert!(!timeout.timed_out());
114114
handle.join().unwrap();
115115
}

0 commit comments

Comments
 (0)