summaryrefslogtreecommitdiff
path: root/jstests/hooks/run_dbcheck_background.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/hooks/run_dbcheck_background.js')
-rw-r--r--jstests/hooks/run_dbcheck_background.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/hooks/run_dbcheck_background.js b/jstests/hooks/run_dbcheck_background.js
index 660fe3321e6..55040df5739 100644
--- a/jstests/hooks/run_dbcheck_background.js
+++ b/jstests/hooks/run_dbcheck_background.js
@@ -14,6 +14,10 @@ if (typeof db === 'undefined') {
TestData = TestData || {};
+// Disable implicit sessions so FSM workloads that kill random sessions won't interrupt the
+// operations in this test that aren't resilient to interruptions.
+TestData.disableImplicitSessions = true;
+
const conn = db.getMongo();
const topology = DiscoverTopology.findConnectedNodes(conn);