Skip to content

Commit 82014ee

Browse files
committed
make test_lots_of_insertions test take less long in Miri
1 parent e97c379 commit 82014ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/collections/hash/map/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ fn test_lots_of_insertions() {
274274
for _ in 0..loops {
275275
assert!(m.is_empty());
276276

277-
let count = if cfg!(miri) { 101 } else { 1001 };
277+
let count = if cfg!(miri) { 66 } else { 1001 };
278278

279279
for i in 1..count {
280280
assert!(m.insert(i, i).is_none());

0 commit comments

Comments
 (0)