diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py
index 5557ad28e9c62f3d4097ea95fffd0d4d7c54753b..aa8b3aadb02cc83abebd6145deb6bc1ecd7740a3 100755
--- a/tests/test_mediaworker.py
+++ b/tests/test_mediaworker.py
@@ -49,7 +49,7 @@ def run_tests(ip):
 
 def check_celerity_connectivity(ip):
     h = conf.get('MS_SERVER_NAME')
-    cmd = "ssh %i curl -k https://%s:6200" % (ip, h)
+    cmd = "ssh %s curl -k https://%s:6200" % (ip, h)
     print('Checking celerity connectivity: %s' % cmd)
     d = subprocess.check_output(cmd, shell=True, timeout=5)
     if "Celerity tasks server" in d: