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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6c33db09f2 NO-JIRA make test more robust
6c33db09f2 is described below

commit 6c33db09f2bad61909c76c645623cb57bc0d3fcb
Author: Justin Bertram <jbert...@apache.org>
AuthorDate: Wed Sep 24 15:24:18 2025 -0500

    NO-JIRA make test more robust
---
 .../activemq/artemis/tests/integration/amqp/JMXManagementTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMXManagementTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMXManagementTest.java
index 91d0c5c6f4..e2709cb9c8 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMXManagementTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMXManagementTest.java
@@ -289,7 +289,7 @@ public class JMXManagementTest extends JMSClientTestSupport 
{
 
          assertEquals(0, queueAControl.countMessages());
          assertEquals(0, queueBControl.countMessages());
-         assertEquals(MESSAGE_COUNT * 2, queueCControl.countMessages());
+         Wait.assertEquals(MESSAGE_COUNT * 2, () -> 
queueCControl.countMessages());
 
          final String originalGroup = queueCControl.countMessages(null, 
"_AMQ_ORIG_QUEUE");
          final String[] originalSplit = originalGroup.split(",");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@activemq.apache.org
For additional commands, e-mail: commits-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to