Class RetryRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class RetryRule
    extends Object
    implements org.junit.rules.TestRule
    • Constructor Detail

      • RetryRule

        public RetryRule​(int maxRetryAttempts)
      • RetryRule

        public RetryRule​(int maxRetryAttempts,
                         long delay,
                         TimeUnit timeUnit)
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule