0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Judah Schvimer 2016-09-15 17:05:53 -04:00
parent 24c134c4fc
commit 0ea9e0521f

View File

@ -9,12 +9,11 @@
assert(res.ok);
};
var shouldFail =
function(uri) {
var shouldFail = function(uri) {
assert.throws(function(uri) {
var conn = new Mongo(uri);
}, [uri], "network error while attempting to run command");
}
};
// Start up a mongod with ssl required.
var sslMongo = MongoRunner.runMongod({