From bb2b4348e3b22e13e984c9e2645268ef5cb6f919 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Fri, 24 Feb 2017 09:41:10 +0100
Subject: [PATCH] fix typo, invert tests order refs #20596

---
 tests/test_mediaworker.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py
index cf20c54b..5557ad28 100755
--- a/tests/test_mediaworker.py
+++ b/tests/test_mediaworker.py
@@ -65,9 +65,9 @@ if worker_ip != '127.0.1.1':
     if not check_ssh(worker_ip):
         all_ok = False
     else:
-        if not run_tests(worker_ip):
+        if not check_celerity_connectivity(worker_ip):
             all_ok = False
-        if not check_celerity_connectivity(ip):
+        if not run_tests(worker_ip):
             all_ok = False
 
 sys.exit(int(not all_ok))
-- 
GitLab