mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-04 11:03:22 +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);
|
Status s = db_->CompactRange(CompactRangeOptions(), &start, &end);
|
||||||
if (paranoid_file_check_enabled) {
|
if (paranoid_file_check_enabled) {
|
||||||
ASSERT_NOK(s);
|
ASSERT_NOK(s);
|
||||||
ASSERT_TRUE(s.IsCorruption());
|
ASSERT_EQ(Status::Corruption("Paranoid checksums do not match"), s);
|
||||||
} else {
|
} else {
|
||||||
// CompactRange() goes through if paranoid file check is not enabled
|
// CompactRange() goes through if paranoid file check is not enabled
|
||||||
ASSERT_OK(s);
|
ASSERT_OK(s);
|
||||||
|
|
Loading…
Reference in a new issue