summaryrefslogtreecommitdiff
path: root/jstests/core/index_stats.js
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-11-21 16:26:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-21 18:17:22 +0000
commit3b3961b638da17d54875b5cab45a01238168b0a3 (patch)
treeb896c8837adfbf8fa488faf3df7fa818d370ea1b /jstests/core/index_stats.js
parentf590e944138f1e2d091926df9413f7412c9f477f (diff)
downloadmongo-3b3961b638da17d54875b5cab45a01238168b0a3.tar.gz
SERVER-70975 Exclude commands which are not allowed with security token from NTDI core passthrough (Part 2)
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.