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 11:43:45 -0400
commit8817328f87564a29e9be2ed1a746cf40e89587eb (patch)
tree1cae922e5cc0faf5b82cf914d2432e93e246ef55 /jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
parent9a7b88779fd519bd955daa106d5d19244fe4072d (diff)
downloadmongo-8817328f87564a29e9be2ed1a746cf40e89587eb.tar.gz
SERVER-32064 Requests from the shell should use an implicit session by default
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 0aeb98d27e4..591c5fffd95 100644
--- a/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
+++ b/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
@@ -5,6 +5,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();