summaryrefslogtreecommitdiff
path: root/jstests/auth/role_management_commands_sharded_wc_1.js
blob: 417bad0fadfc32ade0b84a5641b096ff01a014c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(function() {
    'use strict';

    load('jstests/auth/role_management_commands_lib.js');

    // 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();
})();