diff options
Diffstat (limited to 'jstests/replsets/rslib.js')
| -rw-r--r-- | jstests/replsets/rslib.js | 2 |
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; |
