diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-03-22 12:08:42 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-03-24 16:13:30 +0100 |
commit | 43e53251a30e680fb57a3f042f66910355197cde (patch) | |
tree | e2a51075cc5af714f46f830cd88c8343f0d33b2f /jstests/sslSpecial | |
parent | ec174997f6e734bc24e095eb26ba6f22a2b4bbea (diff) | |
download | mongo-43e53251a30e680fb57a3f042f66910355197cde.tar.gz |
SERVER-17450 Cleanup SSL test infrastructure
Diffstat (limited to 'jstests/sslSpecial')
-rw-r--r-- | jstests/sslSpecial/set_parameter_nossl.js | 2 | ||||
-rw-r--r-- | jstests/sslSpecial/ssl_mixedmode.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sslSpecial/set_parameter_nossl.js b/jstests/sslSpecial/set_parameter_nossl.js index 825ce05fd8e..0b5e72dd4fb 100644 --- a/jstests/sslSpecial/set_parameter_nossl.js +++ b/jstests/sslSpecial/set_parameter_nossl.js @@ -17,7 +17,7 @@ function testTransition(newSSLMode, newClusterAuthMode) { var res = adminDB.runCommand({ "setParameter" : 1, "clusterAuthMode" : newClusterAuthMode }); assert(!res["ok"]); - stopMongod(port); + MongoRunner.stopMongod(port); } testTransition("allowSSL", "sendKeyFile"); diff --git a/jstests/sslSpecial/ssl_mixedmode.js b/jstests/sslSpecial/ssl_mixedmode.js index 8ed3c276b3a..701c5ea10d7 100644 --- a/jstests/sslSpecial/ssl_mixedmode.js +++ b/jstests/sslSpecial/ssl_mixedmode.js @@ -44,7 +44,7 @@ function testCombination(sslMode, sslShell, shouldSucceed) { assert.eq(1, mongo, "Connection attempt succeeded when it should fail sslMode:" + sslMode + " SSL-shell:" + sslShell); } - stopMongod(port); + MongoRunner.stopMongod(port); } testCombination("disabled", false, true); |