diff options
Diffstat (limited to 'jstests/serial_run/srv-uri.js')
-rw-r--r-- | jstests/serial_run/srv-uri.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/jstests/serial_run/srv-uri.js b/jstests/serial_run/srv-uri.js index a3bb305aeee..ee0bc743e85 100644 --- a/jstests/serial_run/srv-uri.js +++ b/jstests/serial_run/srv-uri.js @@ -1,9 +1,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); +"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); })(); |