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 intervalMsec
      Wait this many milliseconds between retries
      int timeoutMsec
      Retries for at most this many milliseconds
    • Element Detail

      • timeoutMsec

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

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