timeout
@Deprecated
public abstract long timeout
Deprecated.
Duration in milliseconds this hook is allowed to run. Cucumber
will mark the hook as failed when exceeded.
When the maximum duration is exceeded the thread will
receive an interrupt. Note: if the interrupt is ignored
Cucumber will wait for the this hook to finish.
- Returns:
- timeout in milliseconds. 0 (default) means no restriction.
- Default:
- 0L