NO-JIRA fixing CheckTest with a Wait assertion

This commit is contained in:
Clebert Suconic 2020-09-14 11:28:31 -04:00
parent 7cf5289efa
commit 604b7c2aa6
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ public class CheckTest extends CliTestBase {
queueControl = (QueueControl)server.getManagementService().
getResource(ResourceNames.QUEUE + queueName);
Assert.assertEquals(messages, queueControl.getMessageCount());
Wait.assertEquals(messages, queueControl::getMessageCount);
} finally {
stopServer();
}