summaryrefslogtreecommitdiff
path: root/jstests/sharding/sessions_collection_auto_healing.js
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2018-05-18 17:34:06 -0400
committerJack Mulrow <jack.mulrow@mongodb.com>2018-06-13 11:43:45 -0400
commit8817328f87564a29e9be2ed1a746cf40e89587eb (patch)
tree1cae922e5cc0faf5b82cf914d2432e93e246ef55 /jstests/sharding/sessions_collection_auto_healing.js
parent9a7b88779fd519bd955daa106d5d19244fe4072d (diff)
downloadmongo-8817328f87564a29e9be2ed1a746cf40e89587eb.tar.gz
SERVER-32064 Requests from the shell should use an implicit session by default
Diffstat (limited to 'jstests/sharding/sessions_collection_auto_healing.js')
-rw-r--r--jstests/sharding/sessions_collection_auto_healing.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/sharding/sessions_collection_auto_healing.js b/jstests/sharding/sessions_collection_auto_healing.js
index 5dcf6d66590..61271bd8dc5 100644
--- a/jstests/sharding/sessions_collection_auto_healing.js
+++ b/jstests/sharding/sessions_collection_auto_healing.js
@@ -3,6 +3,10 @@ load('jstests/libs/sessions_collection.js');
(function() {
"use strict";
+ // This test makes assertions about the number of sessions, which are not compatible with
+ // implicit sessions.
+ TestData.disableImplicitSessions = true;
+
var st = new ShardingTest({shards: 0});
var configSvr = st.configRS.getPrimary();
var configAdmin = configSvr.getDB("admin");