summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2016-02-25 15:27:47 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2016-02-25 15:30:05 -0500
commit25b4abb7dff84a61c9e9f94de89f3319f7350403 (patch)
treed324f982ee987ea286f15db92d9dab9bdfefe9cf
parent77358fcc55c37446a1964441ab27b3fb19f4b060 (diff)
downloadmongo-25b4abb7dff84a61c9e9f94de89f3319f7350403.tar.gz
SERVER-22846 Add applyOps command to readConcern passthrough
(cherry picked from commit dac2b0d7269341c6033170aef76352bba2663422)
-rw-r--r--buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml2
-rw-r--r--jstests/libs/override_methods/set_majority_read_and_write_concerns.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
index 57f44cfbcba..8e483ea6687 100644
--- a/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
@@ -7,10 +7,8 @@ selector:
# and/or an injected 'majority' writeConcern. Where a function is
# listed the reason is we don't have a reliable solution to override
# the write concern for that function.
- - jstests/core/apply_ops1.js # applyOps() used for writes
- jstests/core/batch_write_command*.js # these tests use various write concerns
- jstests/core/bench_test*.js # benchRun() used for writes
- - jstests/core/bypass_doc_validation.js # applyOps() used for writes
- jstests/core/capped_update.js # uses godinsert and can't run under replication.
- jstests/core/crud_api.js # has specific w:0 tests
- jstests/core/error2.js # db.eval() used
diff --git a/jstests/libs/override_methods/set_majority_read_and_write_concerns.js b/jstests/libs/override_methods/set_majority_read_and_write_concerns.js
index 96cdef93ef1..7485be823a6 100644
--- a/jstests/libs/override_methods/set_majority_read_and_write_concerns.js
+++ b/jstests/libs/override_methods/set_majority_read_and_write_concerns.js
@@ -34,6 +34,7 @@
// These commands directly support a writeConcern argument.
var commandsToForceWriteConcern = [
+ "applyOps",
"authSchemaUpgrade",
"createRole",
"createUser",