summaryrefslogtreecommitdiff
path: root/jstests/core/index_stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/index_stats.js')
-rw-r--r--jstests/core/index_stats.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/core/index_stats.js b/jstests/core/index_stats.js
index 3c8c98764a3..8561cbd2029 100644
--- a/jstests/core/index_stats.js
+++ b/jstests/core/index_stats.js
@@ -1,4 +1,6 @@
+// The test runs commands that are not allowed with security token: mapReduce.
// @tags: [
+// not_allowed_with_security_token,
// # 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.