fix corruption_test valgrind

Summary: Closes https://github.com/facebook/rocksdb/pull/2724

Differential Revision: D5613416

Pulled By: ajkr

fbshipit-source-id: ed55fb66ab1b41dfdfe765fe3264a1c87a8acb00
main
Andrew Kryczka 7 years ago committed by Facebook Github Bot
parent ac098a4626
commit 6f051e0c71
  1. 1
      db/corruption_test.cc

@ -332,6 +332,7 @@ TEST_F(CorruptionTest, TableFileIndexData) {
// corrupt an index block of an entire file
Corrupt(kTableFile, -2000, 500);
Reopen();
dbi = reinterpret_cast<DBImpl*>(db_);
// one full file should be readable, since only one was corrupted
// the other file should be fully non-readable, since index was corrupted
Check(5000, 5000);

Loading…
Cancel
Save