diff options
Diffstat (limited to 'jstests/replsets/index_delete.js')
-rw-r--r-- | jstests/replsets/index_delete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/index_delete.js b/jstests/replsets/index_delete.js index 59486bb2932..09a877ec845 100644 --- a/jstests/replsets/index_delete.js +++ b/jstests/replsets/index_delete.js @@ -43,7 +43,7 @@ var bulk = masterDB[collName].initializeUnorderedBulkOp(); for (var i = 0; i < size; ++i) { bulk.insert({i: i, j: i, k: i}); } -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); jsTest.log("Creating index"); masterDB[collName].ensureIndex({i: 1}); |