@Override
  protected void runChild(final FrameworkMethod method, final RunNotifier notifier) {
    final Description description = describeChild(method);
    if (method.getAnnotation(Ignore.class) != null) {
      notifier.fireTestIgnored(description);
    } else {
      runTestUnit(methodBlock(method), description, notifier);
    }
  }
JUnit test runner that reruns test on failure.
common/src/test/org/apache/hive/common/util/RetryTestRunner.java