protected void evaluate(final Statement base, final Description description,
        final int retryCount) throws Throwable {
      if (retryCount == 0) {

      }
      Throwable caughtThrowable = null;

      for (int count = 0; count < retryCount; count++) {
        try {
          base.evaluate();
          return;
        } catch (Throwable t) {
          caughtThrowable = t;
          debug(description.getDisplayName() + ": run " + (count + 1) + " failed");
        }
      }

      debug(description.getDisplayName() + ": giving up after " + retryCount + " failures");
      throw caughtThrowable;
    }
Enables printing of failures to System.err even if test passes on a retry
geode-junit/src/main/java/org/apache/geode/test/junit/rules/RetryRule.java