Skip to content

Commit d4f861e

Browse files
committed
account for aarch64 windows oversleeping
1 parent a354649 commit d4f861e

File tree

1 file changed

+2
-1
lines changed
  • src/tools/miri/tests/pass/concurrency

1 file changed

+2
-1
lines changed

src/tools/miri/tests/pass/concurrency/sync.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ use std::time::{Duration, Instant};
99

1010
// We are expecting to sleep for 10ms. How long of a sleep we are accepting?
1111
// Even with 1000ms we still see this test fail on macOS runners.
12-
const MAX_SLEEP_TIME_MS: u64 = 2000;
12+
// On a aarch64-pc-windows-msvc runner, we saw 2.7s!
13+
const MAX_SLEEP_TIME_MS: u64 = 4000;
1314

1415
// Check if Rust barriers are working.
1516

0 commit comments

Comments
 (0)