diff --git a/db/db_compaction_test.cc b/db/db_compaction_test.cc index f20be594e..743ec33ba 100644 --- a/db/db_compaction_test.cc +++ b/db/db_compaction_test.cc @@ -1594,7 +1594,7 @@ TEST_F(DBCompactionTest, DeleteFileRange) { // Note that we don't delete level 0 files compact_options.change_level = true; compact_options.target_level = 1; - ASSERT_OK(dbfull()->TEST_CompactRange(0, nullptr, nullptr)); + ASSERT_OK(db_->CompactRange(compact_options, nullptr, nullptr)); ASSERT_OK( DeleteFilesInRange(db_, db_->DefaultColumnFamily(), nullptr, nullptr));