You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin Earls (JIRA)" <ji...@apache.org> on 2013/09/03 09:40:52 UTC

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

Kevin Earls created AMQ-4713:
--------------------------------

             Summary: 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, jdk6
            Reporter: Kevin Earls
            Priority: Minor


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