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/22 19:18:52 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=46680#action_46680 ]
Gary Tully commented on AMQ-1984:
---------------------------------
I am making some progress on this. the problem is that the message count of the storeQueuecursos goes negative and it appears empty, so nothing gets dispatched, even when there are messages available in the store. The result is that a consumer hangs waiting for a message. The ReconnectTest simulates a connection error that causes lots of repeated add/removeConsumers for a queue that sometimes gets in this state.
> 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.