diff --git a/db/compaction_picker_test.cc b/db/compaction_picker_test.cc index e6b31fbfa..73071a75a 100644 --- a/db/compaction_picker_test.cc +++ b/db/compaction_picker_test.cc @@ -346,6 +346,8 @@ TEST_F(CompactionPickerTest, LevelTriggerDynamic4) { ASSERT_EQ(num_levels - 1, compaction->output_level()); } +// Universal and FIFO Compactions are not supported in ROCKSDB_LITE +#ifndef ROCKSDB_LITE TEST_F(CompactionPickerTest, NeedsCompactionUniversal) { NewVersionStorage(1, kCompactionStyleUniversal); UniversalCompactionPicker universal_compaction_picker( @@ -455,6 +457,7 @@ TEST_F(CompactionPickerTest, NeedsCompactionFIFO) { vstorage_->CompactionScore(0) >= 1); } } +#endif // ROCKSDB_LITE // This test exhibits the bug where we don't properly reset parent_index in // PickCompaction()