diff options
Diffstat (limited to 'jstests/libs/ssl_test.js')
-rw-r--r-- | jstests/libs/ssl_test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/libs/ssl_test.js b/jstests/libs/ssl_test.js index 11874ebc01e..1d3c2b06fe0 100644 --- a/jstests/libs/ssl_test.js +++ b/jstests/libs/ssl_test.js @@ -74,7 +74,8 @@ SSLTest.prototype.connectWorked = function() { var serverPID = _startMongoProgram.apply(null, serverArgv); try { assert.soon(function() { - return checkProgram(serverPID) && (0 === _runMongoProgram.apply(null, clientArgv)); + return checkProgram(serverPID).alive && + (0 === _runMongoProgram.apply(null, clientArgv)); }, "connect failed", connectTimeoutMillis); } catch (ex) { return false; |