ARTEMIS-4652 Adapting test to not throw XA_RETRY as requested

This commit is contained in:
Clebert Suconic 2024-03-13 20:25:03 -04:00
parent 61b9753f80
commit 32138d64e4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}