org.jvnet.hudson.test.recipes
Annotation Type WithTimeout
@Documented
@Recipe(value=WithTimeout.RunnerImpl.class)
@JenkinsRecipe(value=WithTimeout.RuleRunnerImpl.class)
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface WithTimeout
Times out the test after the specified number of seconds.
All the tests time out after some number of seconds by default, but this recipe
allows you to override that value.
- Author:
- Kohsuke Kawaguchi
Required Element Summary |
int |
value
Number of seconds. |
value
public abstract int value
- Number of seconds.
0 to indicate the test should never time out.
Copyright © 2004-2013. All Rights Reserved.