diff options
author | jannaerin <golden.janna@gmail.com> | 2018-02-07 17:38:49 -0500 |
---|---|---|
committer | jannaerin <golden.janna@gmail.com> | 2018-03-09 00:40:40 -0500 |
commit | da1e0304e8eb91711ea1c78eb8f62538b53680e7 (patch) | |
tree | e55d32a40a76a39e01d8848c5a17d97ad640b18e /jstests/auth/commands_user_defined_roles.js | |
parent | 0d5370783beeb4936a181dd2f69387da4b5e816c (diff) | |
download | mongo-da1e0304e8eb91711ea1c78eb8f62538b53680e7.tar.gz |
SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets
Diffstat (limited to 'jstests/auth/commands_user_defined_roles.js')
-rw-r--r-- | jstests/auth/commands_user_defined_roles.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/jstests/auth/commands_user_defined_roles.js b/jstests/auth/commands_user_defined_roles.js index 3c8de27192f..739f4eb7a4f 100644 --- a/jstests/auth/commands_user_defined_roles.js +++ b/jstests/auth/commands_user_defined_roles.js @@ -204,7 +204,12 @@ authCommandsLib.runTests(conn, impls); MongoRunner.stopMongod(conn); // run all tests sharded -conn = new ShardingTest( - {shards: 2, mongos: 1, keyFile: "jstests/libs/key1", other: {shardOptions: opts}}); +// TODO: Remove 'shardAsReplicaSet: false' when SERVER-32672 is fixed. +conn = new ShardingTest({ + shards: 2, + mongos: 1, + keyFile: "jstests/libs/key1", + other: {shardOptions: opts, shardAsReplicaSet: false} +}); authCommandsLib.runTests(conn, impls); conn.stop(); |