diff options
author | Benety Goh <benety@mongodb.com> | 2016-07-13 06:24:16 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-07-13 11:24:06 -0400 |
commit | ff285b342fd98416a458a070f05e62c274028c89 (patch) | |
tree | ada05efc6bb297ce3daffa9ee33aa46f8e629fe2 /jstests/noPassthroughWithMongod/bench_test_crud_commands.js | |
parent | 799100121f8848a9f8a4705665a744d5b50f4a8b (diff) | |
download | mongo-ff285b342fd98416a458a070f05e62c274028c89.tar.gz |
SERVER-25035 fixed incorrect write concern in tests
Diffstat (limited to 'jstests/noPassthroughWithMongod/bench_test_crud_commands.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/bench_test_crud_commands.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthroughWithMongod/bench_test_crud_commands.js b/jstests/noPassthroughWithMongod/bench_test_crud_commands.js index 7bbafa4e931..2866c1b2cc3 100644 --- a/jstests/noPassthroughWithMongod/bench_test_crud_commands.js +++ b/jstests/noPassthroughWithMongod/bench_test_crud_commands.js @@ -80,9 +80,9 @@ testInsert([bigDoc], writeCmd, {}); testInsert(docs, writeCmd, {}); - testInsert(docs, writeCmd, {"writeConcern": {"w": "majority"}}); - testInsert(docs, writeCmd, {"writeConcern": {"w": 1, "j": false}}); - testInsert(docs, writeCmd, {"writeConcern": {"j": true}}); + testInsert(docs, writeCmd, {"w": "majority"}); + testInsert(docs, writeCmd, {"w": 1, "j": false}); + testInsert(docs, writeCmd, {"j": true}); } testWriteConcern(false); |