summaryrefslogtreecommitdiff
path: root/jstests/replsets/rslib.js
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2013-10-02 17:43:16 -0400
committerAndreas Nilsson <andreas.nilsson@10gen.com>2013-10-03 12:25:08 -0400
commit7db361fe2dac4a533f3f51bf51a2c35b99488cc1 (patch)
tree4402202fd76a28e5292df9326a0174bf471ec458 /jstests/replsets/rslib.js
parentb9420625a99eca29a02946ee24e9cfa1a4311342 (diff)
downloadmongo-7db361fe2dac4a533f3f51bf51a2c35b99488cc1.tar.gz
SERVER-7455 x.509 cluster auth tests
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 0a12a45e838..8b7d2ed1263 100644
--- a/jstests/replsets/rslib.js
+++ b/jstests/replsets/rslib.js
@@ -44,7 +44,7 @@ var 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;