diff options
author | Matthew Saltz <matthew.saltz@mongodb.com> | 2018-07-03 14:48:02 -0400 |
---|---|---|
committer | Matthew Saltz <matthew.saltz@mongodb.com> | 2018-07-09 14:43:36 -0400 |
commit | 5cbed04d484cc92c3c0b571fd49f16b2ceef81b0 (patch) | |
tree | db18fb11f699214e354003f0a297d013464ec07f /jstests/sharding/remove1.js | |
parent | 5f48be8178611047a029656f8d4d41cf343b245c (diff) | |
download | mongo-5cbed04d484cc92c3c0b571fd49f16b2ceef81b0.tar.gz |
SERVER-31586 Update balancer configuration on mongod on addShard
Diffstat (limited to 'jstests/sharding/remove1.js')
-rw-r--r-- | jstests/sharding/remove1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/remove1.js b/jstests/sharding/remove1.js index d810c9380a0..8ccf8dadcf2 100644 --- a/jstests/sharding/remove1.js +++ b/jstests/sharding/remove1.js @@ -39,7 +39,7 @@ assert.commandFailed(s.s0.adminCommand({removeshard: s.shard1.shardName})); // Should create a shard0002 shard - var conn = MongoRunner.runMongod({}); + var conn = MongoRunner.runMongod({shardsvr: ""}); assert.commandWorked(s.s0.adminCommand({addshard: conn.host})); assert.eq(2, s.config.shards.count(), "new server does not appear in count"); |