Skip to content

Commit

Permalink
make test_lots_of_insertions test take less long in Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 1, 2024
1 parent e97c379 commit 82014ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/collections/hash/map/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 82014ee

Please sign in to comment.