We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4937ea commit 872cc52Copy full SHA for 872cc52
src/lib.rs
@@ -489,33 +489,6 @@ mod tests {
489
}
490
491
492
- #[test]
493
- fn purge() {
494
- let dir = tempdir().unwrap();
495
- let mut index = Index::new(&dir).unwrap();
496
-
497
- for i in 0..N {
498
- index.insert(i, i).unwrap();
499
- }
500
501
- assert_eq!(index.get(&i).unwrap(), Some(&i));
502
503
504
- index.purge().unwrap();
505
506
507
- assert_eq!(index.get(&i).unwrap(), None);
508
509
510
- // repopulate
511
512
513
514
515
516
517
518
519
const N_THREADS: usize = 8;
520
521
// The stress test creates an index, and simultaneously writes
0 commit comments