Increased connection timeouts.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
267991982e
commit
d6b6aa4285
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -169,7 +169,7 @@ public class ExternalSiteTest
|
|||
}
|
||||
catch (Throwable x)
|
||||
{
|
||||
assumeTrue(x == null, "Unable to connect");
|
||||
assumeTrue(false, "Unable to connect");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue