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 ca8d57eb5e ARTEMIS-5173 Improving test reliability
ca8d57eb5e is described below

commit ca8d57eb5e2f27db9191dd155b7d55c6914187ec
Author: Clebert Suconic <[email protected]>
AuthorDate: Wed Dec 11 15:38:43 2024 -0500

    ARTEMIS-5173 Improving test reliability
---
 .../artemis/tests/integration/cluster/failover/PagingFailoverTest.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java
index c3ce8e9870..477c04e4f5 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java
@@ -183,6 +183,8 @@ public class PagingFailoverTest extends FailoverTestBase {
 
       session.close();
 
+      Wait.assertTrue(() -> backupServer.getServer().locateQueue(ADDRESS) != 
null, 15_000, 100);
+
       Queue queue = backupServer.getServer().locateQueue(ADDRESS);
 
       Wait.assertFalse( () -> {


---------------------------------------------------------------------
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