Skip to content

Commit b38ae90

Browse files
fix CI: skip concurrent/stress tests under Miri (too slow)
Miri runs tests 100-1000x slower than native. Thread spawning causes extreme timeouts. These tests run fine on native (Test job passes).
1 parent c18be01 commit b38ae90

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/concurrent.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(not(miri))] // Thread spawning is extremely slow under Miri
2+
13
use std::sync::Arc;
24
use std::thread;
35

tests/stress.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(not(miri))] // Thread spawning is extremely slow under Miri
2+
13
use std::sync::atomic::{AtomicBool, Ordering};
24
use std::sync::Arc;
35
use std::thread;

0 commit comments

Comments
 (0)