[
https://issues.apache.org/jira/browse/QPID-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy updated QPID-4080:
-----------------------------
Attachment: 0001-QPID-4080-Fix-failing-tests-from-HAClusterWhiteboxTe.patch
Hi Keith,
Could you please have a look into the patch attached fixing the failing test
issue.
Instead of using failover and trying to recconect to the cluster after killing
master using failover, the suggested solution checks periodically whether
VirtualHost MBean is available on any of remaining replicas. Only after Mbean
is available the test tries to establish AMQP connection.
What do you think about it?
> HAClusterWhiteboxTest#testClusterLosingNodeRetainsData fails occasionally on
> Apache CI
> --------------------------------------------------------------------------------------
>
> Key: QPID-4080
> URL: https://issues.apache.org/jira/browse/QPID-4080
> Project: Qpid
> Issue Type: Bug
> Components: Java Tests
> Affects Versions: 0.17
> Reporter: Keith Wall
> Assignee: Keith Wall
> Priority: Minor
> Labels: HA
> Attachments:
> 0001-QPID-4080-Fix-failing-tests-from-HAClusterWhiteboxTe.patch
>
>
> Test HAClusterWhiteboxTest#testClusterLosingNodeRetainsData has been seen to
> fail on Apache CI (profile java-bdb.0-10).
> https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/337/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/testReport/junit/org.apache.qpid.server.store.berkeleydb/HAClusterWhiteboxTest/testClusterLosingNodeRetainsData/
> {code}
> Error Message
> no valid connection obtained
> Stacktrace
> junit.framework.AssertionFailedError: no valid connection obtained
> at
> org.apache.qpid.server.store.berkeleydb.HAClusterWhiteboxTest.testClusterLosingNodeRetainsData(HAClusterWhiteboxTest.java:164)
> at
> org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:239)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:137)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]