summaryrefslogtreecommitdiff
path: root/jstests/ssl/disable_x509.js
diff options
context:
space:
mode:
authorKevin Albertson <kevin.albertson@10gen.com>2018-02-08 09:46:57 -0500
committerKevin Albertson <kevin.albertson@10gen.com>2018-02-08 09:46:57 -0500
commitc556e377094792e7253a95cb5fedcd703a99bf2c (patch)
treeb2032e22b5ab1ef21927f2483578cb11df3c341d /jstests/ssl/disable_x509.js
parente1fdc072a60a0cc47395e09c3d9a796f424e0040 (diff)
downloadmongo-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.js5
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