ARTEMIS-5156 Wait.assertEquals on messageCount

This commit is contained in:
Clebert Suconic 2024-11-19 12:31:06 -05:00
parent 94868db502
commit 8afa3d8a41
1 changed files with 1 additions and 1 deletions

View File

@ -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();