Class RetryWithTimeOutStrategy

java.lang.Object
com.chutneytesting.engine.domain.execution.strategies.RetryWithTimeOutStrategy
All Implemented Interfaces:
StepExecutionStrategy

public class RetryWithTimeOutStrategy extends Object implements StepExecutionStrategy
Retry every retryDelay execution of a Step until success or until timeOut Expects following strategy properties: - timeOut: duration before giving up on the execution of a failed step - retryDelay: waiting duration before retrying execution of a failed step

Expected duration format: "floating_positive_number [duration_unit]" where floating_positive_number : the duration value (ex.: 10) time_unit : the duration unit. Valid values are: - "min" or "m" for minutes - "sec" or "s" for seconds - "ms" for milliseconds empty values are interpreted as seconds Example: timeOut: "5 min", or "300 sec", ...