mongo/jstests/auth/list_databases_sharded_clus...

15 lines
316 B
JavaScript

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