Annotation Type Retry


@Retention(RUNTIME) public @interface Retry
Used to annotate JUnit tests as being retryable
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Wait this many milliseconds between retries
    int
    Retries for at most this many milliseconds
  • Element Details

    • timeoutMsec

      int timeoutMsec
      Retries for at most this many milliseconds
      Default:
      -1
    • intervalMsec

      int intervalMsec
      Wait this many milliseconds between retries
      Default:
      -1