diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2017-09-20 14:26:56 +0200 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2017-09-20 14:27:38 +0200 |
commit | 0f4d539cac991f1cc805c5824f2a0082da8ee4d7 (patch) | |
tree | 2b199383a93b3a3d2ee55c914eb80c6e84725c22 | |
parent | 8632ea7a3c0e50c68e1357c18b0398b013fb3a85 (diff) | |
download | rumba-0f4d539cac991f1cc805c5824f2a0082da8ee4d7.tar.gz rumba-0f4d539cac991f1cc805c5824f2a0082da8ee4d7.zip |
SSH: Increasing ssh retries temporarily: TBD in a better way
-rw-r--r-- | .gitlab-ci.yml | 1 | ||||
-rw-r--r-- | rumba/ssh_support.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f8d116..1632e20 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,3 +7,4 @@ before_script: irati-test: script: - python examples/vpn.py + - python examples/two-layers.py diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py index 9c24890..23e1e49 100644 --- a/rumba/ssh_support.py +++ b/rumba/ssh_support.py @@ -60,7 +60,7 @@ def _print_stream(stream): def ssh_connect(ssh_client, hostname, port, username, password, time_out, proxy): retry = 0 - max_retries = 5 + max_retries = 12 while retry < max_retries: time.sleep(retry * 5) try: |