diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/mr_writeconflict.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/mr_writeconflict.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/mr_writeconflict.js b/jstests/noPassthroughWithMongod/mr_writeconflict.js index b7fd81e21c7..6dfd3189196 100644 --- a/jstests/noPassthroughWithMongod/mr_writeconflict.js +++ b/jstests/noPassthroughWithMongod/mr_writeconflict.js @@ -49,7 +49,7 @@ for (i = 0; i < numDocs; ++i) { } var res = bulk.execute(); -assert.writeOK(res); +assert.commandWorked(res); assert.eq(numDocs, res.nInserted); db.dest.drop(); |