NO-JIRA: Trivial test fix

This commit is contained in:
Clebert Suconic 2017-05-03 09:33:12 -04:00
parent 5073744679
commit 174b238b28
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ public class AddressControlTest extends ManagementTestBase {
session.createQueue(address, RoutingType.ANYCAST, address.concat('2'));
producer.send(session.createMessage(false));
Wait.waitFor(() -> addressControl.getMessageCount() == 2);
assertEquals(2, addressControl.getMessageCount());
}