blob: a9f2878b020a548d2405236a1dcd3fabb871a1b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Make sure the psuedo-option --tlsOnNormalPorts is correctly canonicalized.
(function() {
'use strict';
const mongod = MongoRunner.runMongod({
tlsOnNormalPorts: '',
tlsCertificateKeyFile: 'jstests/libs/server.pem',
});
assert(mongod);
assert.commandWorked(mongod.getDB('admin').runCommand({isMaster: 1}));
MongoRunner.stopMongod(mongod);
})();
|