summaryrefslogtreecommitdiff
path: root/jstests/sslSpecial/mixed_mode_repl_nossl.js
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-12-01 16:56:40 -0500
committerEric Milkie <milkie@10gen.com>2014-12-01 17:33:02 -0500
commit2fe551d8710595e973a34e40abb21ef9693193fc (patch)
treeff1cff635ba406e90e3856f84f07bd3f7037830e /jstests/sslSpecial/mixed_mode_repl_nossl.js
parent566ac19af63ceb95bfdf7743502fe45005d5f2b7 (diff)
downloadmongo-2fe551d8710595e973a34e40abb21ef9693193fc.tar.gz
SERVER-16371 fix ssl tests to not share replica set monitors between sub-runs
Diffstat (limited to 'jstests/sslSpecial/mixed_mode_repl_nossl.js')
-rw-r--r--jstests/sslSpecial/mixed_mode_repl_nossl.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/sslSpecial/mixed_mode_repl_nossl.js b/jstests/sslSpecial/mixed_mode_repl_nossl.js
index 5eadb6516d7..de81c7bad5d 100644
--- a/jstests/sslSpecial/mixed_mode_repl_nossl.js
+++ b/jstests/sslSpecial/mixed_mode_repl_nossl.js
@@ -7,16 +7,16 @@ load("jstests/ssl/libs/ssl_helpers.js")
// Verify that disabled allows non-ssl connections
print("=== Testing disabled cluster ===");
-replShouldSucceed(disabled, disabled);
+replShouldSucceed("disabled-disabled", disabled, disabled);
// Test mixed sslMode allowSSL/preferSSL with non-ssl client
print("=== Testing allowSSL/preferSSL cluster ===");
-replShouldSucceed(allowSSL, preferSSL);
+replShouldSucceed("allow-prefer", allowSSL, preferSSL);
// Test mixed sslMode allowSSL/disabled with non-ssl client
print("=== Testing allowSSL/disabled cluster ===");
-replShouldSucceed(allowSSL, disabled);
+replShouldSucceed("allow-disabled", allowSSL, disabled);
// Test mixed sslMode disables/preferSSL - should fail with non-ssl client
print("=== Testing disabled/preferSSL cluster - SHOULD FAIL ===");
-replShouldFail(disabled, preferSSL);
+replShouldFail("disabled-disabled", disabled, preferSSL);