cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11057) move_single_node_localhost_test is failing
Date Thu, 17 Mar 2016 15:13:33 GMT

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

Michael Shuler commented on CASSANDRA-11057:
--------------------------------------------

Thanks for the comment. I missed the distinction of using {{localhost}} in the yaml, but still
passing {{127.0.0.1}} to {{node.network_interfaces}}. This should mitigate in the same way
I thought we might special-case localhost in CCM, which is where I left this last night:

{noformat}
diff --git a/ccmlib/node.py b/ccmlib/node.py
index 5119809..5c4a89e 100644
--- a/ccmlib/node.py
+++ b/ccmlib/node.py
@@ -1499,7 +1499,7 @@ class Node(object):
             common.replace_in_file(conf_file, gc_log_pattern, gc_log_setting)
 
         for itf in list(self.network_interfaces.values()):
-            if itf is not None and common.interface_is_ipv6(itf):
+            if itf not in [None, 'localhost'] and common.interface_is_ipv6(itf):
                 if common.is_win():
                     common.replace_in_file(conf_file,
                                            '-Djava.net.preferIPv4Stack=true',
{noformat}

I'll get another round of fixing this test in today.

> move_single_node_localhost_test is failing
> ------------------------------------------
>
>                 Key: CASSANDRA-11057
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11057
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Philip Thompson
>            Assignee: Michael Shuler
>              Labels: dtest
>
> {{pushed_notifications_test.TestPushedNotifications.move_single_node_localhost_test}}
is failing across all tested versions. Example failure is [here|http://cassci.datastax.com/job/cassandra-2.1_novnode_dtest/194/testReport/pushed_notifications_test/TestPushedNotifications/move_single_node_localhost_test/].

> We need to debug this failure, as it is entirely likely it is a test issue and not a
bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message