ARTEMIS-2372 Fixing test
This commit is contained in:
parent
54c4611229
commit
b27f381389
|
@ -368,7 +368,7 @@ public class AmqpExpiredMessageTest extends AmqpClientTestSupport {
|
||||||
|
|
||||||
Thread.sleep(50);
|
Thread.sleep(50);
|
||||||
|
|
||||||
Wait.assertEquals(1, queueView::getMessageCount);
|
Wait.assertEquals(0, queueView::getMessageCount);
|
||||||
|
|
||||||
// Now try and get the message
|
// Now try and get the message
|
||||||
AmqpReceiver receiver = session.createReceiver(getQueueName());
|
AmqpReceiver receiver = session.createReceiver(getQueueName());
|
||||||
|
|
Loading…
Reference in New Issue