summaryrefslogtreecommitdiff
path: root/jstests/sharding/remove1.js
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-07-28 11:14:26 -0400
committerAlberto Lerner <alerner@10gen.com>2010-07-28 11:14:26 -0400
commitbc3f63ebf1304f08406878fcc7f5907ae816e22a (patch)
tree63763b2ab195eae97d56f4a4439d8f1e6030a913 /jstests/sharding/remove1.js
parent82fe16a3aa08b5fe7e895b40f1dcbf737b5f2673 (diff)
downloadmongo-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.js2
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 );