Files
mongo/jstests/auth/list_databases_sharded_cluster.js
2023-08-06 20:48:04 +00:00

10 lines
296 B
JavaScript

/*
* Auth test for the listDatabases command on sharded clusters.
* @tags: [requires_sharding]
*/
import {runTest} from "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();