about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/miri/tests/pass/shims/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/tests/pass/shims/time.rs b/src/tools/miri/tests/pass/shims/time.rs
index 23b5ab57efa..226f04ade0f 100644
--- a/src/tools/miri/tests/pass/shims/time.rs
+++ b/src/tools/miri/tests/pass/shims/time.rs
@@ -5,7 +5,7 @@ use std::time::{Duration, Instant, SystemTime};
 fn duration_sanity(diff: Duration) {
     // On my laptop, I observed times around 15-40ms. Add 10x lee-way both ways.
     assert!(diff.as_millis() > 1);
-    assert!(diff.as_millis() < 500);
+    assert!(diff.as_millis() < 1000); // macOS is very slow sometimes
 }
 
 fn test_sleep() {