Browse Source

config kNumLevels for TEST LastLevelCompaction

light_ver
ArcueidType 1 month ago
parent
commit
2481ca24ba
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      test/ttl_test.cc

+ 1
- 3
test/ttl_test.cc View File

@ -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;

Loading…
Cancel
Save