From 4aa5650cdadcdfadcf894757943122a842f1cd99 Mon Sep 17 00:00:00 2001 From: Raphael Defosseux <raphael.defosseux@eurecom.fr> Date: Fri, 28 Sep 2018 16:49:30 +0200 Subject: [PATCH] CI: little tweak Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr> --- ci-scripts/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci-scripts/main.py b/ci-scripts/main.py index c0b8b6309f3..589f389850c 100644 --- a/ci-scripts/main.py +++ b/ci-scripts/main.py @@ -126,6 +126,9 @@ class SSHConnection(): # debug output logging.debug(str(self.ssh.before)) logging.debug('self.sshresponse = ' + str(self.sshresponse)) + # adding a tempo when failure + if not connect_status: + time.sleep(1) count += 1 if connect_status: pass -- GitLab