ARTEMIS-1297 fixing intermittent failure

This commit is contained in:
Clebert Suconic 2017-08-29 19:04:23 -04:00
parent 0610a2349c
commit 9df2ffe248
1 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,13 @@ public class AMQPMessageLoadBalancingTest extends ClusterTestBase {
createQueue(0, "queues.0", "queues.0", null, true, null, null, RoutingType.ANYCAST);
createQueue(1, "queues.0", "queues.0", null, true, null, null, RoutingType.ANYCAST);
waitForBindings(0, "queues.0", 1, 0, true);
waitForBindings(1, "queues.0", 1, 0, true);
waitForBindings(0, "queues.0", 1, 0, false);
waitForBindings(1, "queues.0", 1, 0, false);
final int NUMBER_OF_MESSAGES = 100;
// sending AMQP Messages.. they should be load balanced