jbonofre commented on code in PR #1622:
URL: https://github.com/apache/activemq/pull/1622#discussion_r2716524593


##########
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:
   Totally agree, that's also what I have observed.



-- 
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


Reply via email to