db_test_util: add recycle_log_files to set of tested options

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2015-10-01 17:14:20 -04:00
parent 3ac13c99d1
commit 7188052107
2 changed files with 8 additions and 3 deletions

View File

@ -343,6 +343,10 @@ Options DBTestBase::CurrentOptions(
options.row_cache = NewLRUCache(1024 * 1024); options.row_cache = NewLRUCache(1024 * 1024);
break; break;
} }
case kRecycleLogFiles: {
options.recycle_log_file_num = 2;
break;
}
case kLevelSubcompactions: { case kLevelSubcompactions: {
options.max_subcompactions = 4; options.max_subcompactions = 4;
break; break;

View File

@ -437,9 +437,10 @@ class DBTestBase : public testing::Test {
kFIFOCompaction = 26, kFIFOCompaction = 26,
kOptimizeFiltersForHits = 27, kOptimizeFiltersForHits = 27,
kRowCache = 28, kRowCache = 28,
kLevelSubcompactions = 29, kRecycleLogFiles = 29,
kUniversalSubcompactions = 30, kLevelSubcompactions = 30,
kEnd = 29 kUniversalSubcompactions = 31,
kEnd = 30
}; };
int option_config_; int option_config_;