cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6583) MessageListenerTest#testLocalTransaction fails intermittently
Date Tue, 08 Sep 2015 15:51:46 GMT

     [ https://issues.apache.org/jira/browse/CXF-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colm O hEigeartaigh resolved CXF-6583.
--------------------------------------
    Resolution: Fixed

> MessageListenerTest#testLocalTransaction fails intermittently
> -------------------------------------------------------------
>
>                 Key: CXF-6583
>                 URL: https://issues.apache.org/jira/browse/CXF-6583
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Kevin Earls
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 3.1.3, 3.0.7
>
>
> 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