0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/jstests/sharding/addshard3.js
2010-09-28 18:37:15 -04:00

10 lines
188 B
JavaScript

s = new ShardingTest( "add_shard3", 1 );
var result = s.admin.runCommand({"addshard" : "localhost:31000"});
printjson(result);
assert.eq(result.ok, 0, "don't add mongos as a shard");