summaryrefslogtreecommitdiff
path: root/jstests/core/geo_s2dedupnear.js
diff options
context:
space:
mode:
authorEddie Louie <eddie.louie@mongodb.com>2017-03-23 14:07:50 -0400
committerEddie Louie <eddie.louie@mongodb.com>2017-03-23 14:07:50 -0400
commit9fc1ecd711851cccee04fe14caf88db0c6523090 (patch)
tree9fe1653635dd12da022fff31555ab237af1cc4e0 /jstests/core/geo_s2dedupnear.js
parentfb956b3b0a48c9b8376575c6adb971a4e0593292 (diff)
downloadmongo-9fc1ecd711851cccee04fe14caf88db0c6523090.tar.gz
SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a48c9b8376575c6adb971a4e0593292.
Diffstat (limited to 'jstests/core/geo_s2dedupnear.js')
-rw-r--r--jstests/core/geo_s2dedupnear.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/geo_s2dedupnear.js b/jstests/core/geo_s2dedupnear.js
index 21378893720..e1f624f7553 100644
--- a/jstests/core/geo_s2dedupnear.js
+++ b/jstests/core/geo_s2dedupnear.js
@@ -1,3 +1,7 @@
+// Cannot implicitly shard accessed collections because of use of $near query instead of geoNear
+// command.
+// @tags: [assumes_unsharded_collection]
+
// Make sure that we don't return several of the same result due to faulty
// assumptions about the btree cursor. That is, don't return duplicate results.
t = db.geo_s2dedupnear;