jbonofre commented on code in PR #1622:
URL: https://github.com/apache/activemq/pull/1622#discussion_r2716061535
##########
activemq-ra/src/test/java/org/apache/activemq/ra/ActiveMQConnectionFactoryTest.java:
##########
@@ -137,7 +137,7 @@ public void testXAResourceReconnect() throws Exception {
try {
final TransportConnector transportConnector =
brokerService.getTransportConnectors().get(0);
- String failoverUrl =
String.format("failover:(%s)?maxReconnectAttempts=10&initialReconnectDelay=100",
transportConnector.getConnectUri());
+ String failoverUrl =
String.format("failover:(%s)?startupMaxReconnectAttempts=10&maxReconnectAttempts=2&initialReconnectDelay=100&timeout=2000",
transportConnector.getConnectUri());
Review Comment:
I saw this one. Also, something that I observed is that the 60s timeout on
the test could be not enough. It seems that increasing the timeout (120s) makes
the change.
I guess that's the purpose of adding `timeout=2000` on the connector here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact