summaryrefslogtreecommitdiff
path: root/jstests/core/getlog2.js
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2018-01-30 19:45:42 -0500
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-01-30 19:45:42 -0500
commit264d971842cffdf8b4f80def1d90241f132345b7 (patch)
tree2e4b60111889e926dc18386b4160ccc5dec48671 /jstests/core/getlog2.js
parent35b5b72146ca570b5c6fed8aaa7e891edf7d6a78 (diff)
downloadmongo-264d971842cffdf8b4f80def1d90241f132345b7.tar.gz
SERVER-32691 Add write_concern_majority_passthrough.yml test suite.
Also adds support for using replica set connection strings in resmoke.py without making all nodes electable.
Diffstat (limited to 'jstests/core/getlog2.js')
-rw-r--r--jstests/core/getlog2.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/jstests/core/getlog2.js b/jstests/core/getlog2.js
index 987992dbd67..46514813732 100644
--- a/jstests/core/getlog2.js
+++ b/jstests/core/getlog2.js
@@ -1,6 +1,12 @@
-// @tags: [does_not_support_stepdowns]
-
// tests getlog as well as slow querying logging
+//
+// @tags: [
+// # This test attempts to perform a find command and see that it ran using the getLog command.
+// # The former operation may be routed to a secondary in the replica set, whereas the latter must
+// # be routed to the primary.
+// assumes_read_preference_unchanged,
+// does_not_support_stepdowns,
+// ]
// We turn off gossiping the mongo shell's clusterTime because it causes the slow command log
// messages to get truncated since they'll exceed 512 characters. The truncated log messages will