blob: f049e75de7abfe92bc7a6447ce7daec5f8f9f954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/*
* Make sure that listCommands on mongods doesn't require authentication.
*/
(function() {
'use strict';
load("jstests/auth/listcommands_preauth_base.js");
const mongod = MongoRunner.runMongod({auth: ""});
runTest(mongod);
MongoRunner.stopMongod(mongod);
})();
|