summaryrefslogtreecommitdiffstats
path: root/library/std/src/sync/rwlock/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sync/rwlock/tests.rs')
-rw-r--r--library/std/src/sync/rwlock/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/rwlock/tests.rs b/library/std/src/sync/rwlock/tests.rs
index 08255c985..b5b3ad989 100644
--- a/library/std/src/sync/rwlock/tests.rs
+++ b/library/std/src/sync/rwlock/tests.rs
@@ -19,7 +19,7 @@ fn smoke() {
#[test]
fn frob() {
const N: u32 = 10;
- const M: usize = 1000;
+ const M: usize = if cfg!(miri) { 100 } else { 1000 };
let r = Arc::new(RwLock::new(()));