summaryrefslogtreecommitdiff
path: root/jstests/ssl/ssl_with_system_ca.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/ssl_with_system_ca.js
parente1fdc072a60a0cc47395e09c3d9a796f424e0040 (diff)
downloadmongo-c556e377094792e7253a95cb5fedcd703a99bf2c.tar.gz
SERVER-25640 terminate running processes in jstests
Diffstat (limited to 'jstests/ssl/ssl_with_system_ca.js')
-rw-r--r--jstests/ssl/ssl_with_system_ca.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/ssl/ssl_with_system_ca.js b/jstests/ssl/ssl_with_system_ca.js
index 194712c98ca..494177f6c3d 100644
--- a/jstests/ssl/ssl_with_system_ca.js
+++ b/jstests/ssl/ssl_with_system_ca.js
@@ -4,6 +4,10 @@
// for details.
((function() {
'use strict';
+ // Do not fail if this test leaves unterminated processes because testWithCerts
+ // is expected to throw before it calls stopMongod.
+ TestData.failIfUnterminatedProcesses = false;
+
const HOST_TYPE = getBuildInfo().buildEnvironment.target_os;
if (HOST_TYPE == "windows") {
@@ -35,6 +39,7 @@
};
assert.throws(function() {
+ // Note: this leaves a running mongod process.
testWithCerts("server.pem", "client.pem");
});
assert.doesNotThrow(function() {