private int getCount(Method child) {
    LoopRunnerConfig config = child.getDeclaringClass().getAnnotation(LoopRunnerConfig.class);
    if (config == null) {
      return DEFAULT_COUNT;
    }

    return config.count();
  }
Simple runner that just runs the test in a loop
geode-concurrency-test/src/main/java/org/apache/geode/test/concurrency/loop/LoopRunner.java