summaryrefslogtreecommitdiff
path: root/jstests/core/plan_cache_list_plans.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/plan_cache_list_plans.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/plan_cache_list_plans.js')
-rw-r--r--jstests/core/plan_cache_list_plans.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/jstests/core/plan_cache_list_plans.js b/jstests/core/plan_cache_list_plans.js
index e82f8f1cdd4..caa1cc9cd55 100644
--- a/jstests/core/plan_cache_list_plans.js
+++ b/jstests/core/plan_cache_list_plans.js
@@ -1,6 +1,12 @@
-// @tags: [does_not_support_stepdowns]
-
// Test the planCacheListPlans command.
+//
+// @tags: [
+// # This test attempts to perform queries and introspect the server's plan cache entries. 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,
+// ]
(function() {
"use strict";