ARTEMIS-5156 Wait.assertEquals on messageCount
This commit is contained in:
parent
94868db502
commit
8afa3d8a41
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue