diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-15 17:14:53 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-20 22:15:57 -0400 |
commit | b6abb408c175b4311ef65ee18da3c15f236bd3fa (patch) | |
tree | 188163a6d5bdf95ea00d3cb09c8607fc369b9355 /jstests/sharding/auth_add_shard.js | |
parent | 42f4b9849826f93125dbb71c56158eb0cbc0f401 (diff) | |
download | mongo-b6abb408c175b4311ef65ee18da3c15f236bd3fa.tar.gz |
SERVER-24603 Re-enable auth tests in 'sharding_last_stable_mongos'
This change makes auth tests with 3.2 mongos, which need to control the
balancer state to go through a special control mongos instance running
version 3.4.
This reverts commit bfde0ecb1ca31c35a37f90a7706987acc0c217f7.
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(); - })(); |