From 71880521073d7a2318078221b5d90d02e9d072ed Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 1 Oct 2015 17:14:20 -0400 Subject: [PATCH] db_test_util: add recycle_log_files to set of tested options Signed-off-by: Sage Weil --- db/db_test_util.cc | 4 ++++ db/db_test_util.h | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/db/db_test_util.cc b/db/db_test_util.cc index ab0ab4d69..bbb473386 100644 --- a/db/db_test_util.cc +++ b/db/db_test_util.cc @@ -343,6 +343,10 @@ Options DBTestBase::CurrentOptions( options.row_cache = NewLRUCache(1024 * 1024); break; } + case kRecycleLogFiles: { + options.recycle_log_file_num = 2; + break; + } case kLevelSubcompactions: { options.max_subcompactions = 4; break; diff --git a/db/db_test_util.h b/db/db_test_util.h index befd6cd8c..6b55c394d 100644 --- a/db/db_test_util.h +++ b/db/db_test_util.h @@ -437,9 +437,10 @@ class DBTestBase : public testing::Test { kFIFOCompaction = 26, kOptimizeFiltersForHits = 27, kRowCache = 28, - kLevelSubcompactions = 29, - kUniversalSubcompactions = 30, - kEnd = 29 + kRecycleLogFiles = 29, + kLevelSubcompactions = 30, + kUniversalSubcompactions = 31, + kEnd = 30 }; int option_config_;