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 8afa3d8a41 ARTEMIS-5156 Wait.assertEquals on messageCount
8afa3d8a41 is described below

commit 8afa3d8a418f224111050cee2a77204f37bb9fd3
Author: Clebert Suconic <[email protected]>
AuthorDate: Tue Nov 19 12:31:06 2024 -0500

    ARTEMIS-5156 Wait.assertEquals on messageCount
---
 .../activemq/artemis/tests/soak/interruptlm/LargeMessageFrozenTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/interruptlm/LargeMessageFrozenTest.java
 
b/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/interruptlm/LargeMessageFrozenTest.java
index 72f2491a5f..d6ef83a7be 100644
--- 
a/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/interruptlm/LargeMessageFrozenTest.java
+++ 
b/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/interruptlm/LargeMessageFrozenTest.java
@@ -340,7 +340,7 @@ public class LargeMessageFrozenTest extends 
ActiveMQTestBase {
          assertNull(consumer.receiveNoWait());
       }
 
-      assertEquals(0L, serverQueue.getMessageCount());
+      Wait.assertEquals(0L, serverQueue::getMessageCount, 5000, 100);
 
       Wait.assertEquals(0, () -> {
          System.gc();


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