You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/01/17 21:08:19 UTC

[jira] [Commented] (AMQ-4972) FailoverConsumerTest.testPublisherFailsOver is failing

    [ https://issues.apache.org/jira/browse/AMQ-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875213#comment-13875213 ] 

Timothy Bish commented on AMQ-4972:
-----------------------------------

Looking at the test it seems like it only ever passed due to dumb luck.  I'm not sure what the intent of it was but it doesn't seem to really be testing anything right now.  We should think about removing this one. 

> FailoverConsumerTest.testPublisherFailsOver is failing
> ------------------------------------------------------
>
>                 Key: AMQ-4972
>                 URL: https://issues.apache.org/jira/browse/AMQ-4972
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Kevin Earls
>            Assignee: Kevin Earls
>            Priority: Minor
>
> I get the following error for this test:
> Running org.apache.activemq.transport.failover.FailoverConsumerTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.936 sec <<< FAILURE! - in org.apache.activemq.transport.failover.FailoverConsumerTest
> testPublisherFailsOver(org.apache.activemq.transport.failover.FailoverConsumerTest)  Time elapsed: 5.479 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.failNotEquals(Assert.java:329)
> 	at junit.framework.Assert.assertEquals(Assert.java:78)
> 	at junit.framework.Assert.assertEquals(Assert.java:234)
> 	at junit.framework.Assert.assertEquals(Assert.java:241)
> 	at junit.framework.TestCase.assertEquals(TestCase.java:409)
> 	at org.apache.activemq.transport.failover.FailoverConsumerTest.testPublisherFailsOver(FailoverConsumerTest.java:121)
> Results :
> Failed tests: 
>   FailoverConsumerTest>CombinationTestSupport.runBare:113->CombinationTestSupport.runBare:107->testPublisherFailsOver:121 expected:<1> but was:<0>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)