diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py index f7cab9bcbee292630a204bf02d7ea878cb35c3b6..36b7fd531643ab7f217fc7dd0b59778238485943 100755 --- a/tests/test_mediaworker.py +++ b/tests/test_mediaworker.py @@ -109,7 +109,7 @@ mediaserver_ip = conf.get('NETWORK_IP') worker_ips = conf.get('CELERITY_WORKER_IP') for worker_ip in worker_ips.split(','): worker_ip = worker_ip.strip() - if worker_ip and worker_ip != '127.0.1.1' and worker_ip != mediaserver_ip: + if worker_ip and not worker_ip.startswith('127.0.') and worker_ip != mediaserver_ip: tested = True if not check_ssh(worker_ip): all_ok = False