This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new c645f3bc71 ARTEMIS-5893 Fixing BasicXaTest
c645f3bc71 is described below

commit c645f3bc7103264ee3f03a9b1b13763c581c7d7f
Author: Clebert Suconic <[email protected]>
AuthorDate: Mon Feb 23 21:43:18 2026 -0500

    ARTEMIS-5893 Fixing BasicXaTest
---
 .../org/apache/activemq/artemis/tests/integration/xa/BasicXaTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaTest.java
index 6eee623ced..1dbda0d142 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/xa/BasicXaTest.java
@@ -304,6 +304,7 @@ public class BasicXaTest extends ActiveMQTestBase {
 
       clientSession.end(xid2, XAResource.TMSUCCESS);
       Wait.assertEquals(1L, () -> testQueue.getAcknowledgeAttempts(), 2000, 
20);
+      consumer.close();
       clientSession.rollback(xid2);
       Wait.assertEquals(0L, () -> testQueue.getMessagesAcknowledged(), 2000, 
20);
       Wait.assertEquals(0L, () -> testQueue.getDeliveringCount(), 5000, 20);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to