Skip to content

Commit bffd41b

Browse files
committed
Auto merge of #3321 - RalfJung:macos-time, r=RalfJung
more dealing with macOS CI runners being slow 500ms seems to still sometimes not enough... so let's double it...
2 parents 4fbef53 + 6245d42 commit bffd41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pass/shims/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::time::{Duration, Instant, SystemTime};
55
fn duration_sanity(diff: Duration) {
66
// On my laptop, I observed times around 15-40ms. Add 10x lee-way both ways.
77
assert!(diff.as_millis() > 1);
8-
assert!(diff.as_millis() < 500);
8+
assert!(diff.as_millis() < 1000); // macOS is very slow sometimes
99
}
1010

1111
fn test_sleep() {

0 commit comments

Comments
 (0)