diff options
Diffstat (limited to 'jstests/sharding/auth_add_shard.js')
-rw-r--r-- | jstests/sharding/auth_add_shard.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/sharding/auth_add_shard.js b/jstests/sharding/auth_add_shard.js index b24afd0172c..f1cf6eccea4 100644 --- a/jstests/sharding/auth_add_shard.js +++ b/jstests/sharding/auth_add_shard.js @@ -14,8 +14,7 @@ var adminUser = {db: "admin", username: "foo", password: "bar"}; // set up a 2 shard cluster with keyfile - var st = new ShardingTest( - {name: "auth_add_shard1", shards: 1, mongos: 1, keyFile: "jstests/libs/key1"}); + var st = new ShardingTest({shards: 1, mongos: 1, other: {keyFile: 'jstests/libs/key1'}}); var mongos = st.s0; var admin = mongos.getDB("admin"); @@ -97,5 +96,4 @@ MongoRunner.stopMongod(conn); st.stop(); - })(); |