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.
1 parent 02ee564 commit ac9617cCopy full SHA for ac9617c
src/tools/miri/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