diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py
index f9557a4c62c9eac92c71f472b33a3d50b3f922ae..f7cab9bcbee292630a204bf02d7ea878cb35c3b6 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))