2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch '3427-tcp-system-test-bump-socket.create_connection-timeout' into 'main'

Bump socket.create_connection() timeout to 10 seconds

Closes #3427

See merge request isc-projects/bind9!6757
This commit is contained in:
Michal Nowak 2022-09-15 10:19:51 +00:00
commit 9f7a514e49

View File

@ -37,7 +37,7 @@ def timeout():
def create_socket(host, port):
sock = socket.create_connection((host, port), timeout=1)
sock = socket.create_connection((host, port), timeout=10)
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True)
return sock