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 2013/09/19 13:01:52 UTC

[jira] [Resolved] (AMQ-4713) org.apache.activemq.transport.amqp.JMSClientTest.testTXConsumerAndLargeNumberOfMessages fails

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

Timothy Bish resolved AMQ-4713.
-------------------------------

    Resolution: Fixed
      Assignee: Timothy Bish  (was: Jean-Baptiste Onofré)

Patch applied, tests passing now.  Thanks!
                
> org.apache.activemq.transport.amqp.JMSClientTest.testTXConsumerAndLargeNumberOfMessages fails
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4713
>                 URL: https://issues.apache.org/jira/browse/AMQ-4713
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>         Environment: mac os x, jdk7
>            Reporter: Kevin Earls
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 5.9.0
>
>         Attachments: AMQ-4713.patch
>
>
> This fails intermittently with one of the two errors shown below:
> Running org.apache.activemq.transport.amqp.JMSClientTest
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.778 sec <<< FAILURE!
> testTXConsumerAndLargeNumberOfMessages(org.apache.activemq.transport.amqp.JMSClientTest)  Time elapsed: 2.027 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<15>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.activemq.transport.amqp.JMSClientTest.testTXConsumerAndLargeNumberOfMessages(JMSClientTest.java:193)
> Results :
> Failed tests: 
>   JMSClientTest.testTXConsumerAndLargeNumberOfMessages:193 expected:<0> but was:<15>
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.activemq.transport.amqp.JMSClientTest
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 40.032 sec <<< FAILURE!
> testTXConsumerAndLargeNumberOfMessages(org.apache.activemq.transport.amqp.JMSClientTest)  Time elapsed: 18.031 sec  <<< FAILURE!
> java.lang.AssertionError: Should receive message: 159
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertNotNull(Assert.java:621)
> 	at org.apache.activemq.transport.amqp.JMSClientTest.testTXConsumerAndLargeNumberOfMessages(JMSClientTest.java:181)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira