diff options
Diffstat (limited to 'jstests/sharding/sharding_balance1.js')
-rw-r--r-- | jstests/sharding/sharding_balance1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/sharding_balance1.js b/jstests/sharding/sharding_balance1.js index f07708d2d23..d6e0384d7f7 100644 --- a/jstests/sharding/sharding_balance1.js +++ b/jstests/sharding/sharding_balance1.js @@ -20,7 +20,7 @@ while (inserted < (20 * 1024 * 1024)) { bulk.insert({_id: num++, s: bigString}); inserted += bigString.length; } -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); assert.commandWorked(s.s0.adminCommand({shardcollection: "test.foo", key: {_id: 1}})); assert.lt(20, s.config.chunks.count({"ns": "test.foo"}), "setup2"); |