diff options
Diffstat (limited to 'src/mongo/db/service_context_d_test_fixture.h')
-rw-r--r-- | src/mongo/db/service_context_d_test_fixture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/service_context_d_test_fixture.h b/src/mongo/db/service_context_d_test_fixture.h index e574c408d8f..f472f6bd492 100644 --- a/src/mongo/db/service_context_d_test_fixture.h +++ b/src/mongo/db/service_context_d_test_fixture.h @@ -40,18 +40,22 @@ namespace mongo { */ class ServiceContextMongoDTest : public ServiceContextTest { protected: + enum class RepairAction { kNoRepair, kRepair }; + ServiceContextMongoDTest(); /** * Build a ServiceContextMongoDTest, using the named storage engine. */ explicit ServiceContextMongoDTest(std::string engine); + ServiceContextMongoDTest(std::string engine, RepairAction repair); virtual ~ServiceContextMongoDTest(); private: struct { std::string engine; bool engineSetByUser; + bool repair; } _stashedStorageParams; unittest::TempDir _tempDir; }; |