mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-07 18:49:14 +00:00
NO-JIRA fixing intermittent test failures
This commit is contained in:
parent
d8f57ae810
commit
b07ae7af7c
@ -293,7 +293,7 @@ public abstract class FailoverTestBase extends ActiveMQTestBase {
|
||||
protected abstract TransportConfiguration getConnectorTransportConfiguration(boolean live);
|
||||
|
||||
protected ServerLocatorInternal getServerLocator() throws Exception {
|
||||
return (ServerLocatorInternal) addServerLocator(ActiveMQClient.createServerLocatorWithHA(getConnectorTransportConfiguration(true), getConnectorTransportConfiguration(false))).setRetryInterval(50);
|
||||
return (ServerLocatorInternal) addServerLocator(ActiveMQClient.createServerLocatorWithHA(getConnectorTransportConfiguration(true), getConnectorTransportConfiguration(false))).setRetryInterval(50).setInitialConnectAttempts(50);
|
||||
}
|
||||
|
||||
protected void crash(final ClientSession... sessions) throws Exception {
|
||||
|
Loading…
x
Reference in New Issue
Block a user