Annotation 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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
    New code should use JenkinsRule.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Number of seconds.
  • Element Details

    • value

      int value
      Number of seconds. 0 to indicate the test should never time out.