NO-JIRA fixing intermittent test failures

This commit is contained in:
Clebert Suconic 2020-12-21 14:21:40 -05:00
parent d8f57ae810
commit b07ae7af7c
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ public abstract class FailoverTestBase extends ActiveMQTestBase {
protected abstract TransportConfiguration getConnectorTransportConfiguration(boolean live); protected abstract TransportConfiguration getConnectorTransportConfiguration(boolean live);
protected ServerLocatorInternal getServerLocator() throws Exception { 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 { protected void crash(final ClientSession... sessions) throws Exception {