Fixed compilation issue.

This commit is contained in:
Simone Bordet 2016-03-01 15:58:32 +01:00
parent 04bb4af12c
commit 24a203f976
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class HttpRequestAbortTest extends AbstractHttpClientServerTest
Assert.assertSame(failure, x.getCause());
// Make sure the pool is in a sane state.
HttpDestinationOverHTTP destination = (HttpDestinationOverHTTP)client.getDestination(scheme, "localhost", connector.getLocalPort());
ConnectionPool connectionPool = destination.getConnectionPool();
DuplexConnectionPool connectionPool = destination.getConnectionPool();
Assert.assertEquals(1, connectionPool.getConnectionCount());
Assert.assertEquals(0, connectionPool.getActiveConnections().size());
Assert.assertEquals(1, connectionPool.getIdleConnections().size());