diff --git a/Makefile b/Makefile index 7efc5bf89..df45fe264 100644 --- a/Makefile +++ b/Makefile @@ -224,6 +224,7 @@ TESTS = \ db_compaction_filter_test \ db_dynamic_level_test \ db_tailing_iter_test \ + db_universal_compaction_test \ block_hash_index_test \ autovector_test \ column_family_test \ diff --git a/db/db_universal_compaction_test.cc b/db/db_universal_compaction_test.cc index 8c58a2304..5978181f0 100644 --- a/db/db_universal_compaction_test.cc +++ b/db/db_universal_compaction_test.cc @@ -688,8 +688,8 @@ TEST_P(DBTestUniversalManualCompactionOutputPathId, CreateAndReopenWithCF({"pikachu"}, options); MakeTables(3, "p", "q", 1); dbfull()->TEST_WaitForCompact(); - ASSERT_EQ(3, TotalLiveFiles(1)); - ASSERT_EQ(3, GetSstFileCount(options.db_paths[0].path)); + ASSERT_EQ(2, TotalLiveFiles(1)); + ASSERT_EQ(2, GetSstFileCount(options.db_paths[0].path)); ASSERT_EQ(0, GetSstFileCount(options.db_paths[1].path)); // Full compaction to DB path 0