summaryrefslogtreecommitdiff
path: root/jstests/core/batch_write_command_update.js
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2018-01-30 19:45:42 -0500
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-01-30 19:45:42 -0500
commit35b5b72146ca570b5c6fed8aaa7e891edf7d6a78 (patch)
tree982b7782084039d440c75911b51ac6568569faec /jstests/core/batch_write_command_update.js
parent784e55320f72ab9b9ec8b4f766d4be0c1b5e4a5b (diff)
downloadmongo-35b5b72146ca570b5c6fed8aaa7e891edf7d6a78.tar.gz
SERVER-32522 Clean up {read,write}Concern and readPreference overrides.
Introduces OverrideHelpers object with convenience methods for inspecting certain aggregation and map-reduce commands, as well as overriding startParallelShell(), Mongo.prototype.runCommand(), and Mongo.prototype.runCommandWithMetadata(). Also removes a number of tests that were incorrectly blacklisted from the read_concern_majority_passthrough.yml and read_concern_linearizable_passthrough.yml test suites.
Diffstat (limited to 'jstests/core/batch_write_command_update.js')
-rw-r--r--jstests/core/batch_write_command_update.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/core/batch_write_command_update.js b/jstests/core/batch_write_command_update.js
index 8a37d77067e..24f86256d98 100644
--- a/jstests/core/batch_write_command_update.js
+++ b/jstests/core/batch_write_command_update.js
@@ -1,7 +1,11 @@
// 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, requires_non_retryable_writes]
+// @tags: [
+// assumes_unsharded_collection,
+// assumes_write_concern_unchanged,
+// requires_non_retryable_writes,
+// ]
//
// Ensures that mongod respects the batch write protocols for updates