NO-JIRA Intermittent failure fix
This commit is contained in:
parent
1bb15639d7
commit
562674aaa9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue