0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests/auth/user_management_commands_sharded_wc_1.js

16 lines
409 B
JavaScript

/**
* @tags: [requires_sharding]
*/
(function() {
'use strict';
load('jstests/auth/user_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', other: {shardAsReplicaSet: false}});
runAllUserManagementCommandsTests(st.s, {w: 1});
st.stop();
})();