[ https://issues.apache.org/jira/browse/DISPATCH-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260409#comment-15260409 ]
Ganesh Murthy commented on DISPATCH-216: ---------------------------------------- In socket.py, there is a line that imports _socket I opened up that _socket and there is a definition for has_ipv6 and it is set to True. So, if your Python interpreter has support for IPv6, the has_ipv6 is always set to True > system_tests_protocol_family fails on systems with no IPv6 > ---------------------------------------------------------- > > Key: DISPATCH-216 > URL: https://issues.apache.org/jira/browse/DISPATCH-216 > Project: Qpid Dispatch > Issue Type: Bug > Components: Tests > Affects Versions: 0.5 > Reporter: Chuck Rolke > Assignee: Ganesh Murthy > > The test assumes IPv6 and fails without it. > To disable IPv6 temporarily on Fedora: > {noformat} > sudo sh -c 'echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6' > {noformat} > To test for IPv6 in Python > {noformat} > import socket > if socket.has_ipv6: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org