summaryrefslogtreecommitdiff
path: root/jstests/replsets/rslib.js
diff options
context:
space:
mode:
authorCharlie <charlie.swanson@10gen.com>2015-03-24 13:46:51 -0400
committerCharlie <charlie.swanson@10gen.com>2015-03-24 13:46:51 -0400
commit6d33c3637e073c83138919a5472b181c65a48d08 (patch)
tree2e5a710bad1f191ce5f55fa72ce288b7ff89c03f /jstests/replsets/rslib.js
parent574810647c6bd93415ecfdcf21b45d1c3588288c (diff)
downloadmongo-6d33c3637e073c83138919a5472b181c65a48d08.tar.gz
Revert "SERVER-17450 Cleanup SSL test infrastructure"
This reverts commit 43e53251a30e680fb57a3f042f66910355197cde.
Diffstat (limited to 'jstests/replsets/rslib.js')
-rw-r--r--jstests/replsets/rslib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/rslib.js b/jstests/replsets/rslib.js
index 7111063f38e..bb3b8374738 100644
--- a/jstests/replsets/rslib.js
+++ b/jstests/replsets/rslib.js
@@ -47,7 +47,7 @@ reconnect = function(a) {
db = a;
}
db.bar.stats();
- if (jsTest.options().keyFile) { // SERVER-4241: Shell connections don't re-authenticate on reconnect
+ if (jsTest.options().keyFile || jsTest.options().useX509) { // SERVER-4241: Shell connections don't re-authenticate on reconnect
return jsTest.authenticate(db.getMongo());
}
return true;