diff options
author | Kevin Albertson <kevin.albertson@10gen.com> | 2018-02-08 09:46:57 -0500 |
---|---|---|
committer | Kevin Albertson <kevin.albertson@10gen.com> | 2018-02-08 09:46:57 -0500 |
commit | c556e377094792e7253a95cb5fedcd703a99bf2c (patch) | |
tree | b2032e22b5ab1ef21927f2483578cb11df3c341d /jstests/ssl/disable_x509.js | |
parent | e1fdc072a60a0cc47395e09c3d9a796f424e0040 (diff) | |
download | mongo-c556e377094792e7253a95cb5fedcd703a99bf2c.tar.gz |
SERVER-25640 terminate running processes in jstests
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 |