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.h6
1 files changed, 6 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 3973a344ffd..763038eb95e 100644
--- a/src/mongo/db/service_context_d_test_fixture.h
+++ b/src/mongo/db/service_context_d_test_fixture.h
@@ -87,6 +87,11 @@ protected:
return std::move(*this);
}
+ Options forceDisableTableLogging() {
+ _forceDisableTableLogging = true;
+ return std::move(*this);
+ }
+
private:
std::string _engine = "wiredTiger";
// We use ephemeral instances by default to advise Storage Engines (in particular
@@ -99,6 +104,7 @@ protected:
Milliseconds _autoAdvancingMockClockIncrement{0};
std::unique_ptr<TickSource> _mockTickSource;
std::unique_ptr<JournalListener> _journalListener;
+ bool _forceDisableTableLogging = false;
friend class ServiceContextMongoDTest;
};