Upgraded HttpCore to version 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1510886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc8df4ef2a
commit
d90302ed14
|
@ -92,7 +92,7 @@ public class TestConnectionManagement extends LocalServerTestBase {
|
|||
final HttpClientConnectionManager mgr,
|
||||
final HttpRoute route) throws ConnectionPoolTimeoutException, ExecutionException, InterruptedException {
|
||||
final ConnectionRequest connRequest = mgr.requestConnection(route, null);
|
||||
return connRequest.get(0, null);
|
||||
return connRequest.get(0, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue