summaryrefslogtreecommitdiff
path: root/jstests/core/updatea.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/updatea.js')
-rw-r--r--jstests/core/updatea.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/updatea.js b/jstests/core/updatea.js
index 0c7a9e1c504..dd54ed04b59 100644
--- a/jstests/core/updatea.js
+++ b/jstests/core/updatea.js
@@ -1,3 +1,7 @@
+// 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]
var res;
t = db.updatea;