Skip to content

Commit

Permalink
test without dns
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert committed Oct 21, 2024
1 parent cd006f6 commit 0e8ab1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/hosted_runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
branches:
- 'master'
- 'main'
- 'stefano/test/skip-dns-http-server'

tags:
- '*'
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/test_http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 0e8ab1c

Please sign in to comment.