From 2481ca24baaf752c295ce01b86445370c4de880c Mon Sep 17 00:00:00 2001 From: ArcueidType <981354012@qq.com> Date: Wed, 6 Nov 2024 20:20:48 +0800 Subject: [PATCH] config kNumLevels for TEST LastLevelCompaction --- test/ttl_test.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/ttl_test.cc b/test/ttl_test.cc index b20194d..ea71c06 100644 --- a/test/ttl_test.cc +++ b/test/ttl_test.cc @@ -104,9 +104,7 @@ TEST(TestTTL, CompactionTTL) { delete db; } -// Time-consuming when kNumLevels is 7, so run this test when kNumLevels is set to 3, -// the codes on branch light_ver -// In this case level 2 is the last level with files +// Test handling last level with kNumLevels = 3 TEST(TestTTL, LastLevelCompaction) { DB *db;