Be more lenient on slower build machines

This commit is contained in:
Gary Gregory 2022-09-28 10:36:05 -04:00 committed by Oleg Kalnichevski
parent 47750c4fbc
commit c6f83a579d
3 changed files with 5 additions and 5 deletions

View File

@ -41,8 +41,8 @@ import org.junit.rules.ExternalResource;
public abstract class AbstractServerTestBase { public abstract class AbstractServerTestBase {
public static final Timeout TIMEOUT = Timeout.ofSeconds(30); public static final Timeout TIMEOUT = Timeout.ofMinutes(1);
public static final Timeout LONG_TIMEOUT = Timeout.ofSeconds(60); public static final Timeout LONG_TIMEOUT = Timeout.ofMinutes(3);
protected final URIScheme scheme; protected final URIScheme scheme;

View File

@ -92,7 +92,7 @@ public class TestHttpMinimalReactive extends AbstractHttpReactiveFundamentalsTes
H2Config.DEFAULT, H2Config.DEFAULT,
Http1Config.DEFAULT, Http1Config.DEFAULT,
IOReactorConfig.custom() IOReactorConfig.custom()
.setSoTimeout(TIMEOUT) .setSoTimeout(LONG_TIMEOUT)
.build(), .build(),
PoolingAsyncClientConnectionManagerBuilder.create() PoolingAsyncClientConnectionManagerBuilder.create()
.setTlsStrategy(new DefaultClientTlsStrategy(SSLTestContexts.createClientSSLContext())) .setTlsStrategy(new DefaultClientTlsStrategy(SSLTestContexts.createClientSSLContext()))

View File

@ -56,8 +56,8 @@ import org.junit.rules.ExternalResource;
*/ */
public abstract class LocalServerTestBase { public abstract class LocalServerTestBase {
public static final Timeout TIMEOUT = Timeout.ofSeconds(30); public static final Timeout TIMEOUT = Timeout.ofMinutes(1);
public static final Timeout LONG_TIMEOUT = Timeout.ofSeconds(60); public static final Timeout LONG_TIMEOUT = Timeout.ofMinutes(3);
public LocalServerTestBase(final URIScheme scheme) { public LocalServerTestBase(final URIScheme scheme) {
this.scheme = scheme; this.scheme = scheme;