ARTEMIS-4652 Adapting test to not throw XA_RETRY as requested
This commit is contained in:
parent
61b9753f80
commit
32138d64e4
|
@ -476,7 +476,7 @@ public class BasicXaTest extends ActiveMQTestBase {
|
|||
clientSession.rollback(xid);
|
||||
Assert.fail("Exception exptected");
|
||||
} catch (XAException e) {
|
||||
Assert.assertTrue(e.errorCode == XAException.XA_RETRY);
|
||||
Assert.assertTrue(e.errorCode == XAException.XAER_RMFAIL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue