Annotation Interface RandomlyFails


@Deprecated @Retention(RUNTIME) @Target(METHOD) public @interface RandomlyFails
Deprecated.
Using a 2.x parent POM, Surefire will be configured to retry failing tests automatically. If the test fails consistently, Ignore it.
Marker for test methods which have been observed to fail for no easily understood reason. They may be useful to keep in sources so developers and certain CI jobs can run them, but failures should not block a validated merge build for example. Only effective on Test-annotated (but not WithoutJenkins-annotated) methods in a class using JenkinsRule when the system property ignore.random.failures is true.
Since:
1.547
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
    Observed failure message or other explanation.
  • Element Details

    • value

      String value
      Deprecated.
      Observed failure message or other explanation.