Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.28
-
None
-
None
Description
FailoverBehaviourTest.testTransactionRolledBackExceptionThrownOnCommitAfterFailoverOnMessageReceiving failed with unexpected message order, the test appears to consume messages in wrong order after a successful failover.
-------------------------------------------------------------------------------
Test set: org.apache.qpid.client.failover.FailoverBehaviourTest
-------------------------------------------------------------------------------
Tests run: 33, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 156.508 sec <<< FAILURE! - in org.apache.qpid.client.failover.FailoverBehaviourTest
testTransactionRolledBackExceptionThrownOnCommitAfterFailoverOnMessageReceiving(org.apache.qpid.client.failover.FailoverBehaviourTest) Time elapsed: 3.206 sec <<< FAILURE!
junit.framework.ComparisonFailure: Failover is broken! Expected [test message 37] but got [test message 38] expected:<test message 3[7]> but was:<test message 3[8]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.TestCase.assertEquals(TestCase.java:261)
at org.apache.qpid.client.failover.FailoverBehaviourTest.assertReceivedMessage(FailoverBehaviourTest.java:1150)
at org.apache.qpid.client.failover.FailoverBehaviourTest.consumeMessages(FailoverBehaviourTest.java:1120)
at org.apache.qpid.client.failover.FailoverBehaviourTest.consumeMessages(FailoverBehaviourTest.java:1062)
at org.apache.qpid.client.failover.FailoverBehaviourTest.testTransactionRolledBackExceptionThrownOnCommitAfterFailoverOnMessageReceiving(FailoverBehaviourTest.java:256)
Attachments
Issue Links
- duplicates
-
QPID-5877 Potential for rejected messages to be resent out of order
- Closed