We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fbef53 + 6245d42 commit bffd41bCopy full SHA for bffd41b
tests/pass/shims/time.rs
@@ -5,7 +5,7 @@ use std::time::{Duration, Instant, SystemTime};
5
fn duration_sanity(diff: Duration) {
6
// On my laptop, I observed times around 15-40ms. Add 10x lee-way both ways.
7
assert!(diff.as_millis() > 1);
8
- assert!(diff.as_millis() < 500);
+ assert!(diff.as_millis() < 1000); // macOS is very slow sometimes
9
}
10
11
fn test_sleep() {
0 commit comments