public final class ServiceTalkTestTimeout
extends org.junit.rules.Timeout
Timeout.lookForStuckThread
setting is ignored.Modifier and Type | Field and Description |
---|---|
static boolean |
CI |
static int |
DEFAULT_TIMEOUT_SECONDS |
static java.lang.String |
THREAD_PREFIX |
Constructor and Description |
---|
ServiceTalkTestTimeout() |
ServiceTalkTestTimeout(long timeout,
java.util.concurrent.TimeUnit unit) |
ServiceTalkTestTimeout(long timeout,
java.util.concurrent.TimeUnit unit,
java.lang.Runnable onTimeout) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
public static final boolean CI
public static final int DEFAULT_TIMEOUT_SECONDS
public static final java.lang.String THREAD_PREFIX
public ServiceTalkTestTimeout()
public ServiceTalkTestTimeout(long timeout, java.util.concurrent.TimeUnit unit)
public ServiceTalkTestTimeout(long timeout, java.util.concurrent.TimeUnit unit, java.lang.Runnable onTimeout)