Increased connection timeouts.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2019-04-16 16:38:17 +02:00
parent 267991982e
commit d6b6aa4285
3 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ public class ConscryptHTTP2ClientTest
FuturePromise<Session> sessionPromise = new FuturePromise<>();
client.connect(sslContextFactory, new InetSocketAddress(host, port), new Session.Listener.Adapter(), sessionPromise);
Session session = sessionPromise.get(5, TimeUnit.SECONDS);
Session session = sessionPromise.get(15, TimeUnit.SECONDS);
HttpFields requestFields = new HttpFields();
requestFields.put("User-Agent", client.getClass().getName() + "/" + Jetty.VERSION);

View File

@ -61,7 +61,7 @@ public class JDK9HTTP2ClientTest
FuturePromise<Session> sessionPromise = new FuturePromise<>();
client.connect(sslContextFactory, new InetSocketAddress(host, port), new Session.Listener.Adapter(), sessionPromise);
Session session = sessionPromise.get(5, TimeUnit.SECONDS);
Session session = sessionPromise.get(15, TimeUnit.SECONDS);
HttpFields requestFields = new HttpFields();
requestFields.put("User-Agent", client.getClass().getName() + "/" + Jetty.VERSION);

View File

@ -169,7 +169,7 @@ public class ExternalSiteTest
}
catch (Throwable x)
{
assumeTrue(x == null, "Unable to connect");
assumeTrue(false, "Unable to connect");
}
}
}