[
https://issues.apache.org/jira/browse/CASSANDRA-12678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-12678:
----------------------------------------
Assignee: Sam Tunnicliffe (was: DS Test Eng)
Status: Patch Available (was: Open)
The version gating added in CASSANDRA-11360 to this test isn't quite
sufficient, as the order of the {{UP}} and {{NEW_NODE}} notifications isn't
guaranteed.
I've opened a [dtest pull
request|https://github.com/riptano/cassandra-dtest/pull/1336] with a fix.
N.B. the {{NEW_NODE}} notification is erroneous, and was fixed for 2.2+ in
CASSANDRA-11038
> dtest failure in
> pushed_notifications_test.TestPushedNotifications.restart_node_test
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12678
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12678
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: Sam Tunnicliffe
> Labels: dtest
> Attachments: node1.log, node2.log
>
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.1_novnode_dtest/275/testReport/pushed_notifications_test/TestPushedNotifications/restart_node_test
> {code}
> Error Message
> 'UP' != u'NEW_NODE'
> {code}
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/pushed_notifications_test.py", line
> 185, in restart_node_test
> self.assertEquals("UP", notifications[1]["change_type"])
> File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
> assertion_func(first, second, msg=msg)
> File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
> raise self.failureException(msg)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)