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/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 31a638842d NO-JIRA test fix
31a638842d is described below

commit 31a638842d2c408156f9a227c8603fb4131dea32
Author: Clebert Suconic <[email protected]>
AuthorDate: Thu Jul 17 19:08:59 2025 -0400

    NO-JIRA test fix
    
    Wait.assertTrue to an intermittent failure
---
 .../artemis/tests/integration/client/PreserveOnRestartTest.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PreserveOnRestartTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PreserveOnRestartTest.java
index 6bedd35706..88683127fa 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PreserveOnRestartTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PreserveOnRestartTest.java
@@ -102,6 +102,6 @@ public class PreserveOnRestartTest extends ActiveMQTestBase 
{
 
       server.stop();
       server.start();
-      assertNull(server.locateQueue(queueName));
+      Wait.assertTrue(() -> server.locateQueue(queueName) == null, 5000, 100);
    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to