NO-JIRA test retry

This commit is contained in:
Clebert Suconic 2020-04-30 21:57:25 -04:00
parent 7906569184
commit 2a7320bffd
1 changed files with 5 additions and 0 deletions

View File

@ -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.SameProcessActiveMQServer;
import org.apache.activemq.artemis.tests.integration.cluster.util.TestableServer; import org.apache.activemq.artemis.tests.integration.cluster.util.TestableServer;
import org.apache.activemq.artemis.tests.util.TransportConfigurationUtils; import org.apache.activemq.artemis.tests.util.TransportConfigurationUtils;
import org.apache.activemq.artemis.utils.RetryRule;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
/** /**
@ -45,6 +47,9 @@ import org.junit.Test;
public class PagingFailoverTest extends FailoverTestBase { public class PagingFailoverTest extends FailoverTestBase {
// Constants ----------------------------------------------------- // Constants -----------------------------------------------------
@Rule
public RetryRule retryRule = new RetryRule(2);
private static final SimpleString ADDRESS = new SimpleString("SimpleAddress"); private static final SimpleString ADDRESS = new SimpleString("SimpleAddress");
private ServerLocator locator; private ServerLocator locator;