summaryrefslogtreecommitdiff
path: root/jstests/auth/list_databases_sharded_cluster.js
blob: 29eb53dfc7e0eeb9f015ec0888d7b649220a7a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Auth test for the listDatabases command on sharded clusters.
 * @tags: [requires_sharding]
 */
(function() {
'use strict';

load("jstests/auth/list_databases_base.js");

const st =
    new ShardingTest({shards: 1, mongos: 1, config: 1, other: {keyFile: 'jstests/libs/key1'}});
runTest(st.s0);
st.stop();
})();