mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-04 02:02:41 +00:00
Address comment
This commit is contained in:
parent
094d37b682
commit
3682b56548
|
@ -494,7 +494,7 @@ TEST_F(CompactionServiceTest, CorruptedOutputParanoidFileCheck) {
|
|||
Status s = db_->CompactRange(CompactRangeOptions(), &start, &end);
|
||||
if (paranoid_file_check_enabled) {
|
||||
ASSERT_NOK(s);
|
||||
ASSERT_TRUE(s.IsCorruption());
|
||||
ASSERT_EQ(Status::Corruption("Paranoid checksums do not match"), s);
|
||||
} else {
|
||||
// CompactRange() goes through if paranoid file check is not enabled
|
||||
ASSERT_OK(s);
|
||||
|
|
Loading…
Reference in a new issue