static boolean doRetry(FrameworkMethod method, Throwable thrown, AtomicInteger retryCounter) {
        boolean doRetry = false;
        if ((retryCounter.decrementAndGet() > -1) && isRetriable(method, thrown)) {
            LOGGER.warn("### RETRY ### {}", method);
            doRetry = true;
        }
        return doRetry;
    }
static boolean doRetry ( FrameworkMethod method , Throwable thrown , AtomicInteger retryCounter ) { boolean doRetry = false ; if ( ( retryCounter . decrementAndGet ( ) > - 1 ) && isRetriable ( method , thrown ) ) { LOGGER . warn ( "### RETRY ### {}" , method ) ; doRetry = true ; } return doRetry ; }
Determine if the indicated failure should be retried.

@param method failed test method
@param thrown exception for this failed test
@param retryCounter retry counter (remaining attempts)
@return {@code true} if failed test should be retried; otherwise {@code false}