Skip to content

Commit 05bbfe8

Browse files
committed
Auto merge of #2063 - RalfJung:macos-timeout, r=RalfJung
increase slack for timeout test This still sometimes fails on macOS, so let's increase the slack.
2 parents 8a9ef3c + 3f1d3ae commit 05bbfe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/concurrency/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn check_conditional_variables_timed_wait_timeout() {
9191
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(100)).unwrap();
9292
assert!(timeout.timed_out());
9393
let elapsed_time = now.elapsed().as_millis();
94-
assert!(100 <= elapsed_time && elapsed_time <= 500);
94+
assert!(100 <= elapsed_time && elapsed_time <= 800);
9595
}
9696

9797
/// Test that signaling a conditional variable when waiting with a timeout works

0 commit comments

Comments
 (0)