File tree Expand file tree Collapse file tree
qpid-jms-client/src/test/java/org/apache/qpid/jms/provider/failover Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2623,7 +2623,7 @@ public void testTxCommitThrowsWhenNoDischargeResponseSentAndConnectionDrops() th
26232623 testPeer .expectBegin ();
26242624
26252625 final JmsConnection connection = establishAnonymousConnecton (
2626- "failover.maxReconnectAttempts=3 &failover.useReconnectBackOff=false" , testPeer );
2626+ "failover.maxReconnectAttempts=2 &failover.useReconnectBackOff=false" , testPeer );
26272627 connection .addConnectionListener (new JmsDefaultConnectionListener () {
26282628 @ Override
26292629 public void onConnectionEstablished (URI remoteURI ) {
@@ -2669,7 +2669,7 @@ public void onConnectionFailure(Throwable cause) {
26692669 LOG .debug ("Commit threw: " , jmsEx );
26702670 }
26712671
2672- assertTrue (failedConnection .await (5 , TimeUnit .SECONDS ), "Should reported failed" );
2672+ assertTrue (failedConnection .await (6 , TimeUnit .SECONDS ), "Should reported failed" );
26732673
26742674 try {
26752675 connection .close ();
You can’t perform that action at this time.
0 commit comments