summaryrefslogtreecommitdiff
path: root/jstests/auth/role_management_commands_sharded_wc_1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/role_management_commands_sharded_wc_1.js')
-rw-r--r--jstests/auth/role_management_commands_sharded_wc_1.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/jstests/auth/role_management_commands_sharded_wc_1.js b/jstests/auth/role_management_commands_sharded_wc_1.js
index 78ce948802b..417bad0fadf 100644
--- a/jstests/auth/role_management_commands_sharded_wc_1.js
+++ b/jstests/auth/role_management_commands_sharded_wc_1.js
@@ -3,8 +3,14 @@
load('jstests/auth/role_management_commands_lib.js');
- var st =
- new ShardingTest({shards: 2, config: 3, keyFile: 'jstests/libs/key1', useHostname: false});
+ // TODO: Remove 'shardAsReplicaSet: false' when SERVER-32672 is fixed.
+ var st = new ShardingTest({
+ shards: 2,
+ config: 3,
+ keyFile: 'jstests/libs/key1',
+ useHostname: false,
+ other: {shardAsReplicaSet: false}
+ });
runAllRoleManagementCommandsTests(st.s, {w: 1});
st.stop();
})();