diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java index b7393b741..6e176d4cb 100644 --- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java +++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover/FailoverIntegrationTest.java @@ -2623,7 +2623,7 @@ public void testTxCommitThrowsWhenNoDischargeResponseSentAndConnectionDrops() th testPeer.expectBegin(); final JmsConnection connection = establishAnonymousConnecton( - "failover.maxReconnectAttempts=3&failover.useReconnectBackOff=false", testPeer); + "failover.maxReconnectAttempts=2&failover.useReconnectBackOff=false", testPeer); connection.addConnectionListener(new JmsDefaultConnectionListener() { @Override public void onConnectionEstablished(URI remoteURI) { @@ -2669,7 +2669,7 @@ public void onConnectionFailure(Throwable cause) { LOG.debug("Commit threw: ", jmsEx); } - assertTrue(failedConnection.await(5, TimeUnit.SECONDS), "Should reported failed"); + assertTrue(failedConnection.await(6, TimeUnit.SECONDS), "Should reported failed"); try { connection.close();