summaryrefslogtreecommitdiff
path: root/pytests
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2021-08-18 13:54:37 +0300
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-19 13:47:01 +0000
commitb9e7ab18bf87b76a0287424fabd5ea7b9523353f (patch)
tree69b669872f9e83cebc355e11997665551fa07e0a /pytests
parenteba98cb97a2377030d76e025875f99f23742490d (diff)
downloadmongo-b9e7ab18bf87b76a0287424fabd5ea7b9523353f.tar.gz
SERVER-59414 Retry curator setup in powercycle
(cherry picked from commit ccdc9b7703e1d367d8986e0bfa3fdeb8d870ccdb)
Diffstat (limited to 'pytests')
-rwxr-xr-xpytests/powertest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py
index 972f15b1e99..1f7ae3c91c9 100755
--- a/pytests/powertest.py
+++ b/pytests/powertest.py
@@ -1104,14 +1104,14 @@ class LocalToRemoteOperations(object):
"""
def __init__( # pylint: disable=too-many-arguments
- self, user_host, retries=2, retry_sleep=30, ssh_connection_options=None,
+ self, user_host, access_retry_count=2, retry_sleep=30, ssh_connection_options=None,
ssh_options=None, shell_binary="/bin/bash", use_shell=False):
"""Initialize LocalToRemoteOperations."""
self.remote_op = remote_operations.RemoteOperations( # pylint: disable=undefined-variable
user_host=user_host, ssh_connection_options=ssh_connection_options,
- ssh_options=ssh_options, retries=retries, retry_sleep=retry_sleep, debug=True,
- shell_binary=shell_binary, use_shell=use_shell)
+ ssh_options=ssh_options, access_retry_count=access_retry_count, retry_sleep=retry_sleep,
+ debug=True, shell_binary=shell_binary, use_shell=use_shell)
def shell(self, cmds, remote_dir=None):
"""Return tuple (ret, output) from performing remote shell operation."""