diff options
| author | Ralf Jung <post@ralfj.de> | 2024-02-25 14:34:24 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-02-25 14:34:24 +0100 |
| commit | ac9617cdd9bd6e52de52e9c3984bb88feea9adc8 (patch) | |
| tree | 3cfa2dfb1cb1f385da1a93cf97d41acb69ebb09b | |
| parent | 02ee5647a25582495d961d375709195f0a7fb5ed (diff) | |
| download | rust-ac9617cdd9bd6e52de52e9c3984bb88feea9adc8.tar.gz rust-ac9617cdd9bd6e52de52e9c3984bb88feea9adc8.zip | |
more dealing with macOS being slow
| -rw-r--r-- | src/tools/miri/tests/pass/shims/time.rs | 2 |
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() { |
