NO-JIRA Fix intermittent failure

This commit is contained in:
Clebert Suconic 2018-03-08 13:36:17 -05:00
parent d30c463a71
commit 80c71fea63
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ public class AmqpSendReceiveTest extends AmqpClientTestSupport {
sender.close();
Queue queue = getProxyToQueue(getQueueName());
assertEquals(MSG_COUNT, queue.getMessageCount());
Wait.assertEquals(MSG_COUNT, queue::getMessageCount);
AmqpReceiver receiver1 = session.createReceiver(getQueueName());
receiver1.flow(MSG_COUNT);