diff options
Diffstat (limited to 'jstests/sharding/shard_keycount.js')
-rw-r--r-- | jstests/sharding/shard_keycount.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/shard_keycount.js b/jstests/sharding/shard_keycount.js index 3076dde5b7e..29a6ee2fc02 100644 --- a/jstests/sharding/shard_keycount.js +++ b/jstests/sharding/shard_keycount.js @@ -29,12 +29,12 @@ var coll = db.getCollection(collName); // Split chunk again assert.commandWorked(s.s0.adminCommand({split: ns, find: {_id: 3}})); -assert.writeOK(coll.update({_id: 3}, {_id: 3})); +assert.commandWorked(coll.update({_id: 3}, {_id: 3})); // Split chunk again assert.commandWorked(s.s0.adminCommand({split: ns, find: {_id: 3}})); -assert.writeOK(coll.update({_id: 3}, {_id: 3})); +assert.commandWorked(coll.update({_id: 3}, {_id: 3})); // Split chunk again assert.commandWorked(s.s0.adminCommand({split: ns, find: {_id: 3}})); |