public class TimeoutUtil extends Object
Adjusts default timeouts according to the system property.
All tests influenced by machine slowness should employ this util.
Modifier and Type | Field and Description |
---|---|
static String |
FACTOR_SYS_PROP |
Constructor and Description |
---|
TimeoutUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
adjust(int amount)
Adjusts timeout for operations.
|
static double |
getFactor()
Get timeout factor to multiply by.
|
static int |
getRawFactor()
Get raw timeout factor.
|
public static final String FACTOR_SYS_PROP
public static int adjust(int amount)
public static double getFactor()
public static int getRawFactor()
Copyright © 2021 JBoss by Red Hat. All rights reserved.