summaryrefslogtreecommitdiff
path: root/jstests/core/geo_distinct.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_distinct.js')
-rw-r--r--jstests/core/geo_distinct.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/geo_distinct.js b/jstests/core/geo_distinct.js
index 33ea7dd3461..4dcc7a7f35f 100644
--- a/jstests/core/geo_distinct.js
+++ b/jstests/core/geo_distinct.js
@@ -1,3 +1,7 @@
+// Cannot implicitly shard accessed collections because of use of $near query instead of geoNear
+// command.
+// @tags: [assumes_unsharded_collection]
+
// Tests distinct with geospatial field values.
// 1. Test distinct with geo values for 'key' (SERVER-2135)
// 2. Test distinct with geo predicates for 'query' (SERVER-13769)