summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.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 12:07:47 -0400
commit3225e5f0784b8306c700a6280bbb986634129291 (patch)
tree52cad5049c1ee1e82e1c186806a1dc24209f0859 /jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
parent6e13aec0f42bc9774496401e921db76a19527092 (diff)
downloadmongo-3225e5f0784b8306c700a6280bbb986634129291.tar.gz
SERVER-32064 Requests from the shell should use an implicit session by default
(cherry picked from commit 8817328f87564a29e9be2ed1a746cf40e89587eb)
Diffstat (limited to 'jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js')
-rw-r--r--jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js b/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
index 0e8d05db09b..19a0452febb 100644
--- a/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
+++ b/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
@@ -4,6 +4,10 @@
(function() {
"use strict";
+ // This test runs a getMore in a parallel shell, which will not inherit the implicit session of
+ // the cursor establishing command.
+ TestData.disableImplicitSessions = true;
+
const coll = db.tailable_getmore_no_timeout;
coll.drop();