diff options
author | Alberto Lerner <alerner@10gen.com> | 2010-07-28 11:14:26 -0400 |
---|---|---|
committer | Alberto Lerner <alerner@10gen.com> | 2010-07-28 11:14:26 -0400 |
commit | bc3f63ebf1304f08406878fcc7f5907ae816e22a (patch) | |
tree | 63763b2ab195eae97d56f4a4439d8f1e6030a913 /jstests/sharding/remove1.js | |
parent | 82fe16a3aa08b5fe7e895b40f1dcbf737b5f2673 (diff) | |
download | mongo-bc3f63ebf1304f08406878fcc7f5907ae816e22a.tar.gz |
SERVER-1497 Cant mix and match localhost and real IPs
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 c26736a92a1..9593bdf9acd 100644 --- a/jstests/sharding/remove1.js +++ b/jstests/sharding/remove1.js @@ -9,7 +9,7 @@ assert.eq( 1, s.config.shards.count() , "removed server still appears in count" // should create a shard0002 shard conn = startMongodTest( 29000 ); -assert( s.admin.runCommand( { addshard: "localhost:29000", allowLocal: true } ).ok, "failed to add shard" ); +assert( s.admin.runCommand( { addshard: "localhost:29000" } ).ok, "failed to add shard" ); assert.eq( 2, s.config.shards.count(), "new server does not appear in count" ); stopMongod( 29000 ); |