blob: a3bb305aeeeaaf3f30045a61353fa701e40ca300 (
plain)
1
2
3
4
5
6
7
8
9
|
(function() {
"use strict";
const md = MongoRunner.runMongod({port: "27017", dbpath: MongoRunner.dataPath});
assert.neq(null, md, "unable to start mongod");
const targetURI = 'mongodb+srv://test1.test.build.10gen.cc./?ssl=false';
const exitCode = runMongoProgram('mongo', targetURI, '--eval', ';');
assert.eq(exitCode, 0, "Failed to connect with a `mongodb+srv://` style URI.");
MongoRunner.stopMongod(md);
})();
|