Skip to content

Commit 63bfcf9

Browse files
committed
wip: chase CI-only test failure
1 parent db2d6f3 commit 63bfcf9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/functional/feature_bind_extra.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ def setup_network(self):
5050

5151
self.have_ipv6 = test_ipv6_local()
5252

53+
if self.have_ipv6:
54+
self.log.info("IPv6 support detected")
55+
56+
import socket
57+
self.log.info("III 1")
58+
try:
59+
self.log.info("III 2")
60+
s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
61+
self.log.info("III 3")
62+
s.connect(('::1', 0))
63+
self.log.info("III 4")
64+
except socket.error:
65+
self.log.info("III 5")
66+
self.log.info("III 6")
67+
5368
any_ipv4 = addr_to_hex('0.0.0.0')
5469
any_ipv6 = addr_to_hex('::')
5570
loopback_ipv4 = addr_to_hex('127.0.0.1')

0 commit comments

Comments
 (0)