public abstract class TimeoutTestBase extends WiremockArquillianTest
Modifier and Type | Field and Description |
---|---|
protected static int |
ROUNDING_FACTOR_CUSHION |
protected static int |
TIMEOUT_CUSHION |
protected static String |
UNUSED_URL |
Constructor and Description |
---|
TimeoutTestBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
checkTimeElapsed(long elapsedMS) |
protected abstract SimpleGetApi |
getClientWithConnectTimeout() |
protected abstract SimpleGetApi |
getClientWithReadTimeout() |
void |
testConnectTimeout() |
void |
testReadTimeout() |
getPort, getServerURI, getServerURL, getStringURL, setupServer
protected static final String UNUSED_URL
protected static final int TIMEOUT_CUSHION
protected static final int ROUNDING_FACTOR_CUSHION
protected abstract SimpleGetApi getClientWithReadTimeout()
protected abstract SimpleGetApi getClientWithConnectTimeout()
protected abstract void checkTimeElapsed(long elapsedMS)
Copyright © 2021 Eclipse Foundation. All rights reserved.