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

Justin Bertram resolved ARTEMIS-1249.
-------------------------------------
    Resolution: Invalid

This test is currently ignored.

> [openwire-tests]  ActiveMQXAConnectionFactoryTest#testRollbackXaErrorCode 
> failing in git tip
> --------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1249
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1249
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.2.0
>            Reporter: Jiri Daněk
>            Priority: Minor
>
> The error code in exception is different than what's expected. Not sure about 
> seriousness, but it does not seem to me like a severe problem regarding user 
> impact.
> {noformat}
> junit.framework.AssertionFailedError: no tx 
> Expected :-4
> Actual   :-7
>  <Click to see difference>
>       at junit.framework.Assert.fail(Assert.java:57)
>       at junit.framework.Assert.failNotEquals(Assert.java:329)
>       at junit.framework.Assert.assertEquals(Assert.java:78)
>       at junit.framework.Assert.assertEquals(Assert.java:234)
>       at junit.framework.TestCase.assertEquals(TestCase.java:401)
>       at 
> org.apache.activemq.ActiveMQXAConnectionFactoryTest.testRollbackXaErrorCode(ActiveMQXAConnectionFactoryTest.java:474)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at junit.framework.TestCase.runTest(TestCase.java:176)
>       at junit.framework.TestCase.runBare(TestCase.java:141)
>       at 
> org.apache.activemq.CombinationTestSupport.runBare(CombinationTestSupport.java:138)
>       at 
> org.apache.activemq.CombinationTestSupport.runBare(CombinationTestSupport.java:144)
>       at junit.framework.TestResult$1.protect(TestResult.java:122)
>       at junit.framework.TestResult.runProtected(TestResult.java:142)
>       at junit.framework.TestResult.run(TestResult.java:125)
>       at junit.framework.TestCase.run(TestCase.java:129)
>       at junit.framework.TestSuite.runTest(TestSuite.java:255)
>       at junit.framework.TestSuite.run(TestSuite.java:250)
>       at 
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>       at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
>         [...]
> {noformat}
> {noformat}
> % git bisect bad
> e258bdf188ebb1ec98d6b816202f4a9503d5fb28 is the first bad commit
> commit e258bdf188ebb1ec98d6b816202f4a9503d5fb28
> Author: Howard Gao <[email protected]>
> Date:   Wed Jun 21 23:05:41 2017 +0800
>     ARTEMIS-1242 OpenWire Transactions never removed
>     
>     Openwire doesn't remove the finished transactions
>     (committed or rolledback).
> :040000 040000 bcb9e05649f915d12029070d7490680d5d2ae7d4 
> eecc6cc037a127cd12a832a7199dbb697e4874fe M      artemis-protocols
> :040000 040000 b3f1d50fde16f30b04971ad49c6a661de4e79612 
> e478cb5b461523c76a1f2f1ac31f09db95425180 M      tests
> {noformat}
> CC [~gaohoward]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to