Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
mac os x, jdk7
-
Regression, Unit Test Broken
Description
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)