From 2a7320bffd44ebca2adc5778f377c7b448ebce0e Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Thu, 30 Apr 2020 21:57:25 -0400 Subject: [PATCH] NO-JIRA test retry --- .../integration/cluster/failover/PagingFailoverTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java index 68f201a342..f660c9f0c5 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PagingFailoverTest.java @@ -34,8 +34,10 @@ import org.apache.activemq.artemis.core.settings.impl.AddressSettings; import org.apache.activemq.artemis.tests.integration.cluster.util.SameProcessActiveMQServer; import org.apache.activemq.artemis.tests.integration.cluster.util.TestableServer; import org.apache.activemq.artemis.tests.util.TransportConfigurationUtils; +import org.apache.activemq.artemis.utils.RetryRule; import org.junit.Assert; import org.junit.Before; +import org.junit.Rule; import org.junit.Test; /** @@ -45,6 +47,9 @@ import org.junit.Test; public class PagingFailoverTest extends FailoverTestBase { // Constants ----------------------------------------------------- + @Rule + public RetryRule retryRule = new RetryRule(2); + private static final SimpleString ADDRESS = new SimpleString("SimpleAddress"); private ServerLocator locator;