Class RetryingTestExtension.FailedTestRetrier

    • Field Detail

      • maxRetries

        private final int maxRetries
      • minSuccess

        private final int minSuccess
      • suspendForMs

        private final int suspendForMs
      • expectedExceptions

        private final java.lang.Class<? extends java.lang.Throwable>[] expectedExceptions
      • seenExceptions

        private final java.util.List<org.opentest4j.TestAbortedException> seenExceptions
      • retriesSoFar

        private int retriesSoFar
      • exceptionsSoFar

        private int exceptionsSoFar
      • seenFailedAssumption

        private boolean seenFailedAssumption
      • seenUnexpectedException

        private boolean seenUnexpectedException
    • Constructor Detail

      • FailedTestRetrier

        private FailedTestRetrier​(int maxRetries,
                                  int minSuccess,
                                  int suspendForMs,
                                  java.lang.Class<? extends java.lang.Throwable>[] expectedExceptions,
                                  TestNameFormatter formatter)
    • Method Detail

      • failed

        <E extends java.lang.Throwable> void failed​(E exception)
                                             throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable
      • expectedException

        private boolean expectedException​(java.lang.Throwable exception)
      • suspendFor

        private void suspendFor​(int millis)
      • isFirstExecution

        private boolean isFirstExecution()