diff options
author | Mikhail Shchatko <mikhail.shchatko@mongodb.com> | 2021-08-18 13:54:37 +0300 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-19 13:03:29 +0000 |
commit | ccdc9b7703e1d367d8986e0bfa3fdeb8d870ccdb (patch) | |
tree | 8d4f094448da1fa387e89273cb0022bb45731b87 /pytests | |
parent | e906d4e8a602aa17d34adbbe82fb3d3b0bb953eb (diff) | |
download | mongo-ccdc9b7703e1d367d8986e0bfa3fdeb8d870ccdb.tar.gz |
SERVER-59414 Retry curator setup in powercycle
Diffstat (limited to 'pytests')
-rwxr-xr-x | pytests/powertest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pytests/powertest.py b/pytests/powertest.py index 55b1aeb37d8..ae2489ab3c3 100755 --- a/pytests/powertest.py +++ b/pytests/powertest.py @@ -1123,14 +1123,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.""" |