Increase external proxy test timeout.

This commit is contained in:
Simone Bordet 2013-07-25 17:36:41 +02:00
parent 06504f2c65
commit eed3a7fec0
1 changed files with 2 additions and 1 deletions

View File

@ -377,7 +377,8 @@ public class ProxyTunnellingTest
try
{
ContentExchange exchange = new ContentExchange(true);
exchange.setTimeout(5000);
// Use a longer timeout, sometimes the proxy takes a while to answer
exchange.setTimeout(20000);
exchange.setURL("https://www.google.com");
httpClient.send(exchange);
assertEquals(HttpExchange.STATUS_COMPLETED, exchange.waitForDone());