diff options
Diffstat (limited to 'tests/sharded_lock.rs')
-rw-r--r-- | tests/sharded_lock.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sharded_lock.rs b/tests/sharded_lock.rs index d999008..0718b44 100644 --- a/tests/sharded_lock.rs +++ b/tests/sharded_lock.rs @@ -21,6 +21,9 @@ fn smoke() { #[test] fn frob() { const N: u32 = 10; + #[cfg(miri)] + const M: usize = 100; + #[cfg(not(miri))] const M: usize = 1000; let r = Arc::new(ShardedLock::new(())); |