cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Earls (JIRA)" <>
Subject [jira] [Created] (CXF-6583) MessageListenerTest#testLocalTransaction fails intermittently
Date Tue, 08 Sep 2015 13:59:45 GMT
Kevin Earls created CXF-6583:

             Summary: MessageListenerTest#testLocalTransaction fails intermittently
                 Key: CXF-6583
             Project: CXF
          Issue Type: Bug
            Reporter: Kevin Earls
            Priority: Minor

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.failNotEquals(
	at org.junit.Assert.assertEquals(
	at org.apache.cxf.transport.jms.util.MessageListenerTest.assertNumMessagesInQueue(
	at org.apache.cxf.transport.jms.util.MessageListenerTest.testTransactionalBehaviour(
	at org.apache.cxf.transport.jms.util.MessageListenerTest.testLocalTransaction(

This just looks like a timing error.  I will submit a PR for this shortly.

This message was sent by Atlassian JIRA

View raw message