[ 
https://issues.apache.org/jira/browse/QPID-5811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew MacBean updated QPID-5811:
---------------------------------

          Description: 
FailoverBehaviourTest.testTransactionRolledBackExceptionThrownOnCommitAfterFailoverOnMessageReceiving
 failed with unexpected message order

-------------------------------------------------------------------------------
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)



  was:
Test FailoverBehaviourTest.testFlowControlFlagResetOnFailover has been seen to 
fail on Apache CI.

https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-MMS-TestMatrix/jdk=JDK%201.6%20%28latest%29,label=Ubuntu,profile=java-mms.0-9-1/405/testReport/junit/org.apache.qpid.client.failover/FailoverBehaviourTest/testFlowControlFlagResetOnFailover/

{code}
org.apache.qpid.client.failover.FailoverBehaviourTest.testFlowControlFlagResetOnFailover
Failing for the past 1 build (Since Failed#405 )
Took 13 sec.
Error Message

Unexpected number of sent messages expected:<4> but was:<3>

Stacktrace

junit.framework.AssertionFailedError: Unexpected number of sent messages 
expected:<4> but was:<3>
        at 
org.apache.qpid.client.failover.FailoverBehaviourTest.testFlowControlFlagResetOnFailover(FailoverBehaviourTest.java:897)
        at 
org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:243)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:137)
{code}

    Affects Version/s:     (was: 0.17)
                       0.28
        Fix Version/s:     (was: 0.17)
             Assignee: Andrew MacBean  (was: Robbie Gemmell)

> FailoverBehaviourTest.testTransactionRolledBackExceptionThrownOnCommitAfterFailoverOnMessageReceiving
>  failed with unexpected message order
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5811
>                 URL: https://issues.apache.org/jira/browse/QPID-5811
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.28
>            Reporter: Andrew MacBean
>            Assignee: Andrew MacBean
>            Priority: Minor
>
> FailoverBehaviourTest.testTransactionRolledBackExceptionThrownOnCommitAfterFailoverOnMessageReceiving
>  failed with unexpected message order
> -------------------------------------------------------------------------------
> 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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to