You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2008/10/23 19:00:52 UTC

[jira] Resolved: (AMQ-1984) Intermittent failure of test org.apache.activemq.transport.failover.ReconnectTest

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

Gary Tully resolved AMQ-1984.
-----------------------------

    Resolution: Fixed

resolved. r707415. 
related and relevant tests:  
mvn test -Dtest=ForwardingBridgeTest,MBeanTest,DataFileNotDeletedTest,AMQ1917Test,ReconnectTest

root cause: cursor out of sync with store, messages to the store added during a dispatch resulted in cursor.iterator finding messages that were not tracked by cusror counts. When counts went negative, available messages were not dispatched, hence consumers can hang.
Now negative count is rectified on the next dispatch.


> Intermittent failure of test org.apache.activemq.transport.failover.ReconnectTest
> ---------------------------------------------------------------------------------
>
>                 Key: AMQ-1984
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1984
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Test Cases
>    Affects Versions: 5.2.0
>         Environment: linux
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.3.0
>
>
> {code}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 54.76 sec <<< FAILURE!
> testReconnects(org.apache.activemq.transport.failover.ReconnectTest)  Time elapsed: 54.741 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Test run 7: Worker 6 never completed an interation.
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.activemq.transport.failover.ReconnectTest.testReconnects(ReconnectTest.java:180)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.