summaryrefslogtreecommitdiff
path: root/jstests/sharding/remove1.js
diff options
context:
space:
mode:
authorMatthew Saltz <matthew.saltz@mongodb.com>2018-07-03 14:48:02 -0400
committerMatthew Saltz <matthew.saltz@mongodb.com>2018-07-09 14:43:36 -0400
commit5cbed04d484cc92c3c0b571fd49f16b2ceef81b0 (patch)
treedb18fb11f699214e354003f0a297d013464ec07f /jstests/sharding/remove1.js
parent5f48be8178611047a029656f8d4d41cf343b245c (diff)
downloadmongo-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.js2
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");