summaryrefslogtreecommitdiff
path: root/jstests/ssl/ssl_uri.js
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-12-17 14:40:28 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-13 15:21:41 +0000
commitf31bc89f66632b2d521be2d076dc23f94ff663eb (patch)
tree6d2dc9562fcfcefacdb1278e78e2a88e49010911 /jstests/ssl/ssl_uri.js
parent65c27c5f9899e2cf72b392a3f1174767afec8823 (diff)
downloadmongo-f31bc89f66632b2d521be2d076dc23f94ff663eb.tar.gz
SERVER-45048 Use hygienic builds in Evergreen
Diffstat (limited to 'jstests/ssl/ssl_uri.js')
-rw-r--r--jstests/ssl/ssl_uri.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/ssl/ssl_uri.js b/jstests/ssl/ssl_uri.js
index 830bba98984..6a6bfc876f0 100644
--- a/jstests/ssl/ssl_uri.js
+++ b/jstests/ssl/ssl_uri.js
@@ -30,7 +30,7 @@ shouldSucceed(sslURI + "?ssl=true");
shouldFail(sslURI + "?ssl=false");
var connectWithURI = function(uri) {
- return runMongoProgram('./mongo',
+ return runMongoProgram('mongo',
'--ssl',
'--sslAllowInvalidCertificates',
'--sslCAFile',
@@ -56,8 +56,7 @@ shouldNotConnect(sslURI + "?ssl=false");
shouldConnect(sslURI + "?ssl=true");
// Connecting with ssl=true without --ssl will not work
-var res =
- runMongoProgram('./mongo', sslURI + "?ssl=true", '--eval', 'db.runCommand({ismaster: 1})');
+var res = runMongoProgram('mongo', sslURI + "?ssl=true", '--eval', 'db.runCommand({ismaster: 1})');
assert.eq(res, 1, "should not have been able to connect without --ssl");
// Clean up