Ver código fonte

config kNumLevels for TEST LastLevelCompaction

light_ver
ArcueidType 3 semanas atrás
pai
commit
2481ca24ba
1 arquivos alterados com 1 adições e 3 exclusões
  1. +1
    -3
      test/ttl_test.cc

+ 1
- 3
test/ttl_test.cc Ver arquivo

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

Carregando…
Cancelar
Salvar