cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Earls (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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.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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message