diff options
| author | Ralf Jung <post@ralfj.de> | 2025-09-02 16:33:10 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-09-02 16:33:10 +0200 |
| commit | d4f861ecb6319e1db20d20e3cc5ddab84b4aaade (patch) | |
| tree | 7fda0611115d45192a78573e6e64bd39c811e861 | |
| parent | a3546491021831e17c030c7f8ec82f4715b321de (diff) | |
| download | rust-d4f861ecb6319e1db20d20e3cc5ddab84b4aaade.tar.gz rust-d4f861ecb6319e1db20d20e3cc5ddab84b4aaade.zip | |
account for aarch64 windows oversleeping
| -rw-r--r-- | src/tools/miri/tests/pass/concurrency/sync.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/miri/tests/pass/concurrency/sync.rs b/src/tools/miri/tests/pass/concurrency/sync.rs index a92359758da..142ac9cc8ca 100644 --- a/src/tools/miri/tests/pass/concurrency/sync.rs +++ b/src/tools/miri/tests/pass/concurrency/sync.rs @@ -9,7 +9,8 @@ use std::time::{Duration, Instant}; // We are expecting to sleep for 10ms. How long of a sleep we are accepting? // Even with 1000ms we still see this test fail on macOS runners. -const MAX_SLEEP_TIME_MS: u64 = 2000; +// On a aarch64-pc-windows-msvc runner, we saw 2.7s! +const MAX_SLEEP_TIME_MS: u64 = 4000; // Check if Rust barriers are working. |
