jetty-9 - HTTP client: make SSL load test to wait more for completion.
This commit is contained in:
parent
9275af7bc4
commit
953f283bce
|
@ -61,7 +61,6 @@ public class HttpClientLoadTest extends AbstractHttpClientServerTest
|
||||||
@Test
|
@Test
|
||||||
public void testIterative() throws Exception
|
public void testIterative() throws Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
start(new LoadHandler());
|
start(new LoadHandler());
|
||||||
|
|
||||||
client.setMaxConnectionsPerAddress(32768);
|
client.setMaxConnectionsPerAddress(32768);
|
||||||
|
@ -90,7 +89,7 @@ public class HttpClientLoadTest extends AbstractHttpClientServerTest
|
||||||
}
|
}
|
||||||
testThread.interrupt();
|
testThread.interrupt();
|
||||||
}
|
}
|
||||||
}, iterations * ("http".equalsIgnoreCase(scheme) ? 10 : 200), TimeUnit.MILLISECONDS);
|
}, iterations * ("http".equalsIgnoreCase(scheme) ? 10 : 500), TimeUnit.MILLISECONDS);
|
||||||
|
|
||||||
long begin = System.nanoTime();
|
long begin = System.nanoTime();
|
||||||
for (int i = 0; i < iterations; ++i)
|
for (int i = 0; i < iterations; ++i)
|
||||||
|
|
Loading…
Reference in New Issue