summaryrefslogtreecommitdiff
path: root/jstests/core/batch_write_command_update.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/batch_write_command_update.js')
-rw-r--r--jstests/core/batch_write_command_update.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/batch_write_command_update.js b/jstests/core/batch_write_command_update.js
index a719c6765e3..c13734f4117 100644
--- a/jstests/core/batch_write_command_update.js
+++ b/jstests/core/batch_write_command_update.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]
+
//
// Ensures that mongod respects the batch write protocols for updates
//