NO-JIRA Intermittent failure fix

This commit is contained in:
Clebert Suconic 2020-12-21 17:36:42 -05:00
parent 1bb15639d7
commit 562674aaa9
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ public class QueueAutoDeleteTest extends JMSTestBase {
QueueBinding queueBinding = (QueueBinding) server.getPostOffice().getBinding(SimpleString.toSimpleString(testQueueName));
assertTrue(queueBinding.getQueue().isAutoDelete());
assertEquals(100, queueBinding.getQueue().getAutoDeleteDelay());
assertEquals(2, queueBinding.getQueue().getMessageCount());
Wait.assertEquals(2, queueBinding.getQueue()::getMessageCount);
MessageConsumer consumer = session.createConsumer(queue);
Message message = consumer.receive(5000);