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/ssl_with_system_ca.js | |
parent | e1fdc072a60a0cc47395e09c3d9a796f424e0040 (diff) | |
download | mongo-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.js | 5 |
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() { |