summaryrefslogtreecommitdiff
path: root/jstests/core/updatek.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/updatek.js')
-rw-r--r--jstests/core/updatek.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/updatek.js b/jstests/core/updatek.js
index 1af9e6112e7..923b4145d1d 100644
--- a/jstests/core/updatek.js
+++ b/jstests/core/updatek.js
@@ -1,3 +1,8 @@
+// Cannot implicitly shard accessed collections because of following errmsg: A single
+// update/delete on a sharded collection must contain an exact match on _id or contain the shard
+// key.
+// @tags: [assumes_unsharded_collection]
+
// Test modifier operations on numerically equivalent string field names. SERVER-4776
t = db.jstests_updatek;