[
https://issues.apache.org/jira/browse/QPID-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455787#comment-13455787
]
Keith Wall commented on QPID-4056:
----------------------------------
Problem reoccurred last night
https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/521/jdk=JDK%201.6%20%28latest%29,label=Ubuntu,profile=java-bdb.0-9-1/testReport/junit/org.apache.qpid.server.store.berkeleydb/HAClusterManagementTest/testRemoveNodeFromGroup/.
>From the logs we can see that the test is allowing itself to observe the
>number of nodes in the group whilst nodes are still forming the group. The
>test *does* await the start-up of each broker, but the successful startup of
>the broker does not mean that that node within (corresponding the virtual
>host) is yet in contact with others in the group.
This wont cause a production issue, but does cause an issue for the test which
is trying to make pre-test assertions about that state of the group.
Adding code so that the test awaits the group to be fully formed will
workaround the issue. In the long-term, I'd prefer to see JMX notifications
being used so a client can hear the node joining or leaving the group.
> HAClusterManagementTest.testRemoveNodeFromGroup fails occasionally on Apache
> CI
> -------------------------------------------------------------------------------
>
> Key: QPID-4056
> URL: https://issues.apache.org/jira/browse/QPID-4056
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker BDB Store, Java Tests
> Affects Versions: 0.17, 0.19
> Reporter: Keith Wall
> Assignee: Keith Wall
> Attachments:
> TEST-org.apache.qpid.server.store.berkeleydb.HAClusterManagementTest.testRemoveNodeFromGroup.out
>
>
> Build 302 showed the following failure for the new test:
> https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/302/
> Unexpected number of data rows before test expected:<3> but was:<4>
> {code}
> Stacktrace
> junit.framework.AssertionFailedError: Unexpected number of data rows before
> test expected:<3> but was:<4>
> at
> org.apache.qpid.server.store.berkeleydb.HAClusterManagementTest.testRemoveNodeFromGroup(HAClusterManagementTest.java:163)
> at
> org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:139)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]