diff options
Diffstat (limited to 'jstests/sharding/split_with_force.js')
-rw-r--r-- | jstests/sharding/split_with_force.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/split_with_force.js b/jstests/sharding/split_with_force.js index 7a40714c35c..ba2af4a6ed2 100644 --- a/jstests/sharding/split_with_force.js +++ b/jstests/sharding/split_with_force.js @@ -24,7 +24,7 @@ var bulk = coll.initializeUnorderedBulkOp(); for (var i = 0; i < (250 * 1000) + 10; i++) { bulk.insert({_id: i}); } -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); jsTest.log("Insert a bunch of data into the rest of the collection..."); @@ -32,7 +32,7 @@ bulk = coll.initializeUnorderedBulkOp(); for (var i = 1; i <= (250 * 1000); i++) { bulk.insert({_id: -i}); } -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); jsTest.log("Get split points of the chunk using force : true..."); |