make test_lots_of_insertions test take less long in Miri · qinheping/verify-rust-std@82014ee (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 82014ee
make test_lots_of_insertions test take less long in Miri
File tree
1 file changed
lines changed
- std/src/collections/hash/map
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -274,7 +274,7 @@ fn test_lots_of_insertions() { | ||
274 | 274 | for _ in 0..loops { |
275 | 275 | assert!(m.is_empty()); |
276 | 276 | |
277 | -let count = if cfg!(miri) { 101 } else { 1001 }; | |
277 | +let count = if cfg!(miri) { 66 } else { 1001 }; | |
278 | 278 | |
279 | 279 | for i in 1..count { |
280 | 280 | assert!(m.insert(i, i).is_none()); |