You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2024/11/19 17:38:24 UTC
(activemq-artemis) branch main updated: ARTEMIS-5156 Wait.assertEquals on messageCount
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 <cl...@apache.org>
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: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact