summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/serial_run/srv-uri.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/serial_run/srv-uri.js b/jstests/serial_run/srv-uri.js
index 1652e3fa8f2..a3bb305aeee 100644
--- a/jstests/serial_run/srv-uri.js
+++ b/jstests/serial_run/srv-uri.js
@@ -2,8 +2,8 @@
"use strict";
const md = MongoRunner.runMongod({port: "27017", dbpath: MongoRunner.dataPath});
assert.neq(null, md, "unable to start mongod");
- const exitCode =
- runMongoProgram('mongo', 'mongodb+srv://test1.test.build.10gen.cc.', '--eval', ';');
+ 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);
})();