From 0f4d539cac991f1cc805c5824f2a0082da8ee4d7 Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Wed, 20 Sep 2017 14:26:56 +0200 Subject: SSH: Increasing ssh retries temporarily: TBD in a better way --- .gitlab-ci.yml | 1 + rumba/ssh_support.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3