make test_lots_of_insertions test take less long in Miri · qinheping/verify-rust-std@82014ee (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
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
Lines changed: 1 addition & 1 deletion
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()); |