summaryrefslogtreecommitdiff
path: root/jstests/core/index_stats.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/index_stats.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/index_stats.js')
-rw-r--r--jstests/core/index_stats.js16
1 files changed, 12 insertions, 4 deletions
diff --git a/jstests/core/index_stats.js b/jstests/core/index_stats.js
index 4781484132f..69517475191 100644
--- a/jstests/core/index_stats.js
+++ b/jstests/core/index_stats.js
@@ -1,7 +1,15 @@
-// Cannot implicitly shard accessed collections because of following errmsg: A single
-// update/delete on a sharded collection must contain an exact match on _id or contain the shard
-// key.
-// @tags: [assumes_unsharded_collection, does_not_support_stepdowns, requires_non_retryable_writes]
+// @tags: [
+// # Cannot implicitly shard accessed collections because of following errmsg: A single
+// # update/delete on a sharded collection must contain an exact match on _id or contain the shard
+// # key.
+// assumes_unsharded_collection,
+// # This test attempts to perform write operations and get index usage statistics using the
+// # $indexStats stage. The former operation must be routed to the primary in a replica set,
+// # whereas the latter may be routed to a secondary.
+// assumes_read_preference_unchanged,
+// does_not_support_stepdowns,
+// requires_non_retryable_writes,
+// ]
(function() {
"use strict";