mirror of https://github.com/facebook/rocksdb.git
fix corruption_test valgrind
Summary: Closes https://github.com/facebook/rocksdb/pull/2724 Differential Revision: D5613416 Pulled By: ajkr fbshipit-source-id: ed55fb66ab1b41dfdfe765fe3264a1c87a8acb00
This commit is contained in:
parent
ac098a4626
commit
6f051e0c71
|
@ -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…
Reference in New Issue