[
https://issues.apache.org/jira/browse/ARTEMIS-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-475.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
> [Artemis Testsuite] SessionCloseTest#testCanNotUseXAWithClosedSession fails
> ---------------------------------------------------------------------------
>
> Key: ARTEMIS-475
> URL: https://issues.apache.org/jira/browse/ARTEMIS-475
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Erich Duda
> Fix For: 1.3.0
>
>
> {code}
> java.lang.AssertionError: expected:<4> but was:<-7>
> 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.artemis.tests.util.ActiveMQTestBase.expectXAException(ActiveMQTestBase.java:953)
> at
> org.apache.activemq.artemis.tests.integration.client.SessionCloseTest.testCanNotUseXAWithClosedSession(SessionCloseTest.java:135)
> {code}
> The test fails because of
> https://github.com/apache/activemq-artemis/commit/ddf8d8f96e33f5f80e1c7a1590de9579aa8ead50
> We need to update expected XA return code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)