@Override
    protected void chore() {
      assertTrue(numberOfFailures == failureThreshold);
      cancel(false);
    }
@param failThreshold Number of times the Chore fails when trying to execute initialChore
                     before succeeding.
hbase-common/src/test/java/org/apache/hadoop/hbase/TestChoreService.java