Skip to content

Commit 0bb188a

Browse files
Merge dashpay#5988: test: disable ipv6 tests for now
10a006e test: disable ipv6 tests for now (UdjinM6) Pull request description: ## Issue being fixed or feature implemented Our CI nodes on Amazon have issues running tests using ipv6. ## What was done? Pretend we don't have ipv6 when we run tests for now ## How Has This Been Tested? See CI results for this PR. ## Breaking Changes n/a but we'll have ipv6 not being tested for some time. ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: kwvg: ACK 10a006e PastaPastaPasta: utACK 10a006e Tree-SHA512: 75da180b916a5a99b1363f152494cbdd1031c7daf2d5eb370ca74547dee694ad04db3e9c677f0f738b9dbb15760d685a6b43b032dde642a4c1d49fff671e2aac
2 parents 45bdfa5 + 10a006e commit 0bb188a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

test/functional/test_framework/netutil.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,12 @@ def test_ipv6_local():
147147
'''
148148
# By using SOCK_DGRAM this will not actually make a connection, but it will
149149
# fail if there is no route to IPv6 localhost.
150-
have_ipv6 = True
151-
try:
152-
s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
153-
s.connect(('::1', 1))
154-
except socket.error:
155-
have_ipv6 = False
156-
return have_ipv6
150+
return False
151+
# TODO: disabled until amazon ipv6 issues are resolved
152+
# have_ipv6 = True
153+
# try:
154+
# s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
155+
# s.connect(('::1', 1))
156+
# except socket.error:
157+
# have_ipv6 = False
158+
# return have_ipv6

0 commit comments

Comments
 (0)