Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
commit
4d2648ae4f
|
@ -568,6 +568,7 @@ public class ConnectionPoolTest
|
|||
{
|
||||
AbstractConnectionPool connectionPool = (AbstractConnectionPool)factory.factory.newConnectionPool(destination);
|
||||
connectionPool.setMaxUsageCount(maxUsageCount);
|
||||
connectionPool.setMaxDuration(0); // Disable max duration expiry as it may expire the connection between the 1st and 2nd request.
|
||||
return connectionPool;
|
||||
});
|
||||
client.setMaxConnectionsPerDestination(1);
|
||||
|
|
Loading…
Reference in New Issue