NO-JIRA intermittent failures on testsuite
This commit is contained in:
parent
122187ab88
commit
a2bce6e921
|
@ -49,9 +49,11 @@ import org.apache.activemq.artemis.tests.util.Wait;
|
|||
import org.apache.activemq.artemis.protocol.amqp.broker.ProtonProtocolManagerFactory;
|
||||
import org.apache.activemq.artemis.spi.core.protocol.RemotingConnection;
|
||||
import org.apache.activemq.artemis.tests.integration.cluster.distribution.ClusterTestBase;
|
||||
import org.apache.activemq.artemis.utils.RetryRule;
|
||||
import org.apache.qpid.jms.JmsConnectionFactory;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Parameterized;
|
||||
|
@ -59,6 +61,9 @@ import org.junit.runners.Parameterized;
|
|||
@RunWith(value = Parameterized.class)
|
||||
public class ProtocolsMessageLoadBalancingTest extends ClusterTestBase {
|
||||
|
||||
@Rule
|
||||
public RetryRule retryRule = new RetryRule(2);
|
||||
|
||||
private static final int NUMBER_OF_SERVERS = 2;
|
||||
private static final SimpleString queueName = SimpleString.toSimpleString("queues.0");
|
||||
|
||||
|
@ -193,6 +198,10 @@ public class ProtocolsMessageLoadBalancingTest extends ClusterTestBase {
|
|||
|
||||
}
|
||||
|
||||
protected boolean isFileStorage() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRedistributionStoppedWithNoRemoteConsumers() throws Exception {
|
||||
startServers(MessageLoadBalancingType.ON_DEMAND);
|
||||
|
|
Loading…
Reference in New Issue