forked from google/leveldb
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
F:\nwani\work\leveldb-1.20>build_release\leveldb_corruption_test.exe
==== Test CorruptionTest.Recovery
expected=100..100; got=100; bad_keys=0; bad_values=0; missed=0
expected=36..36; got=36; bad_keys=0; bad_values=0; missed=64
==== Test CorruptionTest.RecoverWriteError
==== Test CorruptionTest.NewFileErrorDuringWrite
==== Test CorruptionTest.TableFile
expected=90..99; got=99; bad_keys=0; bad_values=1; missed=0
==== Test CorruptionTest.TableFileRepair
expected=95..99; got=0; bad_keys=0; bad_values=0; missed=0
F:\nwani\work\leveldb-1.20\db\corruption_test.cc:122: failed: 95 <= 0
Workaround (which kinda defeats the whole point of the test?):
diff --git a/db/corruption_test.cc b/db/corruption_test.cc
index 37a484d..b322e7e 100644
--- a/db/corruption_test.cc
+++ b/db/corruption_test.cc
@@ -255,7 +255,7 @@ TEST(CorruptionTest, TableFileRepair) {
dbi->TEST_CompactRange(1, NULL, NULL);
Corrupt(kTableFile, 100, 1);
- RepairDB();
+ //RepairDB();
Reopen();
Check(95, 99);
}
Metadata
Metadata
Assignees
Labels
No labels