diff options
Diffstat (limited to 'jstests/ssl/disable_x509.js')
-rw-r--r-- | jstests/ssl/disable_x509.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/ssl/disable_x509.js b/jstests/ssl/disable_x509.js index f23ab91534e..6d251e66b94 100644 --- a/jstests/ssl/disable_x509.js +++ b/jstests/ssl/disable_x509.js @@ -43,4 +43,7 @@ if (cmdOut.ok) { assert(!external.auth({user: CLIENT_USER, mechanism: 'MONGODB-X509'}), "authentication with disabled auth mechanism succeeded"); -} + MongoRunner.stopMongod(conn); +} else { + MongoRunner.stopMongod(conn); +}
\ No newline at end of file |