jetty-9 - HTTP client: make SSL load test to wait more for completion.

This commit is contained in:
Simone Bordet 2012-09-18 21:03:15 +02:00
parent 9275af7bc4
commit 953f283bce
1 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ public class HttpClientLoadTest extends AbstractHttpClientServerTest
@Test
public void testIterative() throws Exception
{
start(new LoadHandler());
client.setMaxConnectionsPerAddress(32768);
@ -90,7 +89,7 @@ public class HttpClientLoadTest extends AbstractHttpClientServerTest
}
testThread.interrupt();
}
}, iterations * ("http".equalsIgnoreCase(scheme) ? 10 : 200), TimeUnit.MILLISECONDS);
}, iterations * ("http".equalsIgnoreCase(scheme) ? 10 : 500), TimeUnit.MILLISECONDS);
long begin = System.nanoTime();
for (int i = 0; i < iterations; ++i)