Package org.eclipse.microprofile.lra.tck
Class LraTckConfigBean
java.lang.Object
org.eclipse.microprofile.lra.tck.LraTckConfigBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongadjustTimeout(long timeout) Adjusting the provided value by timeout factor defined for the TCK suite.longAdjusting the default timeout by the specified timeout factor which can be defined by user when property#LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAMEis defined.
-
Field Details
-
LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME
Name of the config property that is used as factor adjusting timeout values used in the testsuite.- See Also:
-
LRA_TCK_BASE_URL_PROPERTY_NAME
Name of the config property which is used to configure the TCK base url. SeetckSuiteBaseUrl.- See Also:
-
-
Constructor Details
-
LraTckConfigBean
public LraTckConfigBean()
-
-
Method Details
-
getDefaultTimeout
public long getDefaultTimeout()Adjusting the default timeout by the specified timeout factor which can be defined by user when property#LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAMEis defined.- Returns:
- default timeout adjusted with timeout factor
-
adjustTimeout
public long adjustTimeout(long timeout) Adjusting the provided value by timeout factor defined for the TCK suite.- Parameters:
timeout- timeout value to be adjusted by#LRA_TCK_TIMEOUT_FACTOR_PROPETY_NAME- Returns:
- value of adjusted timeout
-