NO-JIRA: Trivial test fix
This commit is contained in:
parent
5073744679
commit
174b238b28
|
@ -338,6 +338,7 @@ public class AddressControlTest extends ManagementTestBase {
|
||||||
|
|
||||||
session.createQueue(address, RoutingType.ANYCAST, address.concat('2'));
|
session.createQueue(address, RoutingType.ANYCAST, address.concat('2'));
|
||||||
producer.send(session.createMessage(false));
|
producer.send(session.createMessage(false));
|
||||||
|
Wait.waitFor(() -> addressControl.getMessageCount() == 2);
|
||||||
assertEquals(2, addressControl.getMessageCount());
|
assertEquals(2, addressControl.getMessageCount());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue