Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4129

(7.1.0) [Artemis Testsuite] SessionCloseTest#testCanNotUseXAWithClosedSession fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR7
    • 7.0.0.ER7
    • ActiveMQ
    • None

      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)
      

      The test fails because of https://github.com/rh-messaging/jboss-activemq-artemis/commit/a1b184c13deb25a5ca9513704cc61ba461c10eb1 We need to update expected XA return code.

            eduda_jira Erich Duda (Inactive)
            eduda_jira Erich Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: