diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/cursor_server_status_metrics.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/cursor_server_status_metrics.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthroughWithMongod/cursor_server_status_metrics.js b/jstests/noPassthroughWithMongod/cursor_server_status_metrics.js index 865809f63b2..ab02eb6960b 100644 --- a/jstests/noPassthroughWithMongod/cursor_server_status_metrics.js +++ b/jstests/noPassthroughWithMongod/cursor_server_status_metrics.js @@ -4,9 +4,9 @@ (function() { var coll = db[jsTest.name()]; coll.drop(); -assert.writeOK(coll.insert({_id: 1})); -assert.writeOK(coll.insert({_id: 2})); -assert.writeOK(coll.insert({_id: 3})); +assert.commandWorked(coll.insert({_id: 1})); +assert.commandWorked(coll.insert({_id: 2})); +assert.commandWorked(coll.insert({_id: 3})); assert.eq(3, coll.find().count()); |