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

Reply via email to