@ApplicationScoped public class LraTckConfigBean extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LRA_TCK_BASE_URL_PROPERTY_NAME
Name of the config property which is used to configure the TCK base url.
|
static String |
LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME
Name of the config property that is used as factor adjusting timeout values used in the testsuite.
|
Constructor and Description |
---|
LraTckConfigBean() |
Modifier and Type | Method and Description |
---|---|
long |
adjustTimeout(long timeout)
Adjusting the provided value by timeout factor defined for the TCK suite.
|
long |
getDefaultTimeout()
Adjusting the default timeout by the specified timeout factor which can be defined by user when property
#LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME is defined. |
public static final String LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME
public static final String LRA_TCK_BASE_URL_PROPERTY_NAME
tckSuiteBaseUrl
.public long getDefaultTimeout()
#LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME
is defined.public long adjustTimeout(long timeout)
timeout
- timeout value to be adjusted by #LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME
Copyright © 2018 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.