diff --git a/.github/workflows/hosted_runners.yml b/.github/workflows/hosted_runners.yml index 7328f2fd84b..361355159b8 100644 --- a/.github/workflows/hosted_runners.yml +++ b/.github/workflows/hosted_runners.yml @@ -23,6 +23,7 @@ on: branches: - 'master' - 'main' + - 'stefano/test/skip-dns-http-server' tags: - '*' diff --git a/tools/tests/test_http_server.py b/tools/tests/test_http_server.py index e77f53b4e70..8f619490d30 100755 --- a/tools/tests/test_http_server.py +++ b/tools/tests/test_http_server.py @@ -391,7 +391,7 @@ def run_http_server(bind_port=80, **kwargs): reset_timeout() - httpd = HTTPServer(("localhost", bind_port), RealSimpleHandler) + httpd = HTTPServer(("127.0.0.1", bind_port), RealSimpleHandler) if ARGS["tls"]: context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) context.load_cert_chain(certfile=ARGS["cert"], keyfile=ARGS["key"])