summaryrefslogtreecommitdiff
path: root/jstests/core/update_arraymatch7.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/update_arraymatch7.js')
-rw-r--r--jstests/core/update_arraymatch7.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/update_arraymatch7.js b/jstests/core/update_arraymatch7.js
index 4c0302dbfec..3ad475f291c 100644
--- a/jstests/core/update_arraymatch7.js
+++ b/jstests/core/update_arraymatch7.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]
+
// Check that the positional operator works properly when an index only match is used for the update
// query spec. SERVER-5067