mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-08 18:29:20 +00:00
NO-JIRA Fixing Intermittent failure on AutoCreateExpiryResourcesTest with a Wait.assert change
This commit is contained in:
parent
b1d326ba8b
commit
afa7209011
@ -205,8 +205,8 @@ public class AutoCreateExpiryResourcesTest extends ActiveMQTestBase {
|
||||
|
||||
triggerExpiration(false);
|
||||
|
||||
Wait.assertTrue(() -> server.locateQueue(expiryQueueName) != null, EXPIRY_DELAY * 2, 20);
|
||||
Wait.assertEquals(COUNT, () -> server.locateQueue(expiryQueueName).getMessageCount(), EXPIRY_DELAY * 2, 20);
|
||||
Wait.assertTrue(() -> server.locateQueue(expiryQueueName) != null, 2_000, 20);
|
||||
Wait.assertEquals(COUNT, () -> server.locateQueue(expiryQueueName).getMessageCount(), 2000, 20);
|
||||
}
|
||||
|
||||
private SimpleString getDefaultExpiryQueueName(SimpleString address) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user