Skip to content
Snippets Groups Projects
Commit a6a46d00 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix mediaserver connectivity test

parent 41381a95
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ def check_celerity_connectivity(ip): ...@@ -52,7 +52,7 @@ def check_celerity_connectivity(ip):
cmd = "ssh %s curl -k https://%s:6200" % (ip, h) cmd = "ssh %s curl -k https://%s:6200" % (ip, h)
print('Checking celerity connectivity: %s' % cmd) print('Checking celerity connectivity: %s' % cmd)
try: try:
d = subprocess.check_output(cmd, shell=True, timeout=5) d = subprocess.check_output(cmd, shell=True, timeout=5, universal_newlines=True)
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
d = '' d = ''
if "Celerity tasks server" in d: if "Celerity tasks server" in d:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment