diff options
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r-- | src/mongo/shell/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js index b296cb9a048..43925df86a4 100644 --- a/src/mongo/shell/utils.js +++ b/src/mongo/shell/utils.js @@ -280,7 +280,7 @@ jsTest.authenticate = function(conn) { }; jsTest.authenticateNodes = function(nodes) { - assert.soon(function() { + assert.soonNoExcept(function() { for (var i = 0; i < nodes.length; i++) { // Don't try to authenticate to arbiters res = nodes[i].getDB("admin").runCommand({replSetGetStatus: 1}); |