Description
This test fails intermittently with the following error:
Running org.apache.cxf.transport.jms.util.MessageListenerTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.431 sec <<< FAILURE! - in org.apache.cxf.transport.jms.util.MessageListenerTest
testLocalTransaction(org.apache.cxf.transport.jms.util.MessageListenerTest) Time elapsed: 7.429 sec <<< FAILURE!
java.lang.AssertionError: Should be rolled back -> number of messages on queue expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.apache.cxf.transport.jms.util.MessageListenerTest.assertNumMessagesInQueue(MessageListenerTest.java:176)
at org.apache.cxf.transport.jms.util.MessageListenerTest.testTransactionalBehaviour(MessageListenerTest.java:122)
at org.apache.cxf.transport.jms.util.MessageListenerTest.testLocalTransaction(MessageListenerTest.java:104)
This just looks like a timing error. I will submit a PR for this shortly.