mirror of https://github.com/mongodb/mongo
15 lines
316 B
JavaScript
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();
|
|
})();
|