mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
make test_lots_of_insertions test take less long in Miri
This commit is contained in:
parent
07f08ffb2d
commit
4529b86196
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user