about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-01 11:01:45 +0200
committerRalf Jung <post@ralfj.de>2024-10-01 11:03:05 +0200
commit4529b86196836ef1efe5c710a8874877d17b9ef8 (patch)
tree5e0173e11d8308b46d5804f73c96bc2dd98f399f
parent07f08ffb2dbc864d2127abedf7a5917b965c0a4b (diff)
downloadrust-4529b86196836ef1efe5c710a8874877d17b9ef8.tar.gz
rust-4529b86196836ef1efe5c710a8874877d17b9ef8.zip
make test_lots_of_insertions test take less long in Miri
-rw-r--r--library/std/src/collections/hash/map/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/collections/hash/map/tests.rs b/library/std/src/collections/hash/map/tests.rs
index 2599060ef62..fa8ea95b891 100644
--- a/library/std/src/collections/hash/map/tests.rs
+++ b/library/std/src/collections/hash/map/tests.rs
@@ -274,7 +274,7 @@ fn test_lots_of_insertions() {
     for _ in 0..loops {
         assert!(m.is_empty());
 
-        let count = if cfg!(miri) { 101 } else { 1001 };
+        let count = if cfg!(miri) { 66 } else { 1001 };
 
         for i in 1..count {
             assert!(m.insert(i, i).is_none());