mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Merge #5988: test: disable ipv6 tests for now
10a006e626
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: ACK10a006e626
PastaPastaPasta: utACK10a006e
Tree-SHA512: 75da180b916a5a99b1363f152494cbdd1031c7daf2d5eb370ca74547dee694ad04db3e9c677f0f738b9dbb15760d685a6b43b032dde642a4c1d49fff671e2aac
This commit is contained in:
commit
0bb188a077
@ -147,10 +147,12 @@ def test_ipv6_local():
|
||||
'''
|
||||
# By using SOCK_DGRAM this will not actually make a connection, but it will
|
||||
# fail if there is no route to IPv6 localhost.
|
||||
have_ipv6 = True
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
|
||||
s.connect(('::1', 1))
|
||||
except socket.error:
|
||||
have_ipv6 = False
|
||||
return have_ipv6
|
||||
return False
|
||||
# TODO: disabled until amazon ipv6 issues are resolved
|
||||
# have_ipv6 = True
|
||||
# try:
|
||||
# s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
|
||||
# s.connect(('::1', 1))
|
||||
# except socket.error:
|
||||
# have_ipv6 = False
|
||||
# return have_ipv6
|
||||
|
Loading…
Reference in New Issue
Block a user