[ 
https://issues.apache.org/jira/browse/DISPATCH-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260241#comment-15260241
 ] 

Ganesh Murthy commented on DISPATCH-216:
----------------------------------------

I did 

{noformat}
sudo emacs /etc/sysctl.conf
{noformat}

and in that file I set
{noformat}
net.ipv6.conf.all.disable_ipv6 = 1
{noformat}

and restarted my machine. 
socket.has_ipv6 still returns True

I opened up system_tests_protocol_family.py and replaced all occurrences of 
IPv6 with IPv4 and all occurrences of ::1 with 127.0.0.1 and the test which was 
not working after the machine restart started working again (which means that 
IPv6 is really disabled on the machine)





> 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

Reply via email to