diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-11-07 18:50:48 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-07 18:50:48 +0000 |
commit | 26f431320c0f4d695365f013a2939c7b71758eec (patch) | |
tree | aadd23a0c99913ae92e170d08020e7639eda38f2 /jstests/hooks | |
parent | 0046cdadcdd273cc730707ac6d47b60336829915 (diff) | |
download | mongo-26f431320c0f4d695365f013a2939c7b71758eec.tar.gz |
SERVER-44473 Disable implicit sessions for the background validation hook to prevent having it killed by tests
Diffstat (limited to 'jstests/hooks')
-rw-r--r-- | jstests/hooks/run_validate_collections_background.js | 4 |
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); |