summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context_d_test_fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/service_context_d_test_fixture.h')
-rw-r--r--src/mongo/db/service_context_d_test_fixture.h4
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 19619f0d0fe..44e6a8df507 100644
--- a/src/mongo/db/service_context_d_test_fixture.h
+++ b/src/mongo/db/service_context_d_test_fixture.h
@@ -39,18 +39,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);
+ explicit ServiceContextMongoDTest(std::string engine, RepairAction repair);
virtual ~ServiceContextMongoDTest();
private:
struct {
std::string engine;
bool engineSetByUser;
+ bool repair;
} _stashedStorageParams;
};