From 61318828fbee2fd828df412be2766fb5473c915a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Thu, 6 Apr 2017 09:05:27 +0200
Subject: [PATCH] Changed worker SSH test timeout.

---
 tests/test_mediaworker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py
index f9557a4c..f7cab9bc 100755
--- a/tests/test_mediaworker.py
+++ b/tests/test_mediaworker.py
@@ -37,7 +37,7 @@ def check_ssh(ip):
     cmd = 'ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no %s ls /tmp' % ip
     print('Connecting to MediaWorker:\n%s' % cmd)
     try:
-        subprocess.check_output(cmd, shell=True, timeout=2)
+        subprocess.check_output(cmd, shell=True, timeout=5)
         print('%sLogged in successfully in "%s".%s' % (GREEN, ip, DEF))
     except subprocess.CalledProcessError:
         print('%sFailed to login using SSH, run "ssh-copy-id %s".%s' % (RED, ip, DEF))
-- 
GitLab