summaryrefslogtreecommitdiff
path: root/jstests/core/geo_s2cursorlimitskip.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_s2cursorlimitskip.js')
-rw-r--r--jstests/core/geo_s2cursorlimitskip.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/core/geo_s2cursorlimitskip.js b/jstests/core/geo_s2cursorlimitskip.js
index 868b57de39f..9eb580edd25 100644
--- a/jstests/core/geo_s2cursorlimitskip.js
+++ b/jstests/core/geo_s2cursorlimitskip.js
@@ -1,4 +1,11 @@
// Test various cursor behaviors
+//
+// @tags: [
+// # This test attempts to enable profiling on a server and then get profiling data by reading
+// # from the "system.profile" collection. 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,
+// ]
var t = db.geo_s2getmmm;
t.drop();
t.ensureIndex({geo: "2dsphere"});