NO-JIRA fixing CheckTest with a Wait assertion
This commit is contained in:
parent
7cf5289efa
commit
604b7c2aa6
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue