diff --git a/db/db_universal_compaction_test.cc b/db/db_universal_compaction_test.cc index 1c21004286..a2cae5967d 100644 --- a/db/db_universal_compaction_test.cc +++ b/db/db_universal_compaction_test.cc @@ -1095,6 +1095,8 @@ TEST_P(DBTestUniversalCompaction, UniversalCompactionSecondPathRatio) { options.arena_block_size = 4 << 10; options.level0_file_num_compaction_trigger = 2; options.num_levels = 1; + options.memtable_factory.reset( + new SpecialSkipListFactory(KNumKeysByGenerateNewFile - 1)); options = CurrentOptions(options); std::vector filenames;