summaryrefslogtreecommitdiff
path: root/jstests/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/hooks')
-rw-r--r--jstests/hooks/run_validate_collections_background.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/hooks/run_validate_collections_background.js b/jstests/hooks/run_validate_collections_background.js
index 7c5ff1fea4f..778ee791002 100644
--- a/jstests/hooks/run_validate_collections_background.js
+++ b/jstests/hooks/run_validate_collections_background.js
@@ -14,6 +14,10 @@ if (typeof db === 'undefined') {
"Expected mongo shell to be connected a server, but global 'db' object isn't defined");
}
+// 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);