@Override
  protected void runOneIteration() {
    if (actions.isEmpty()) {
      this.stop("done");
      return;
    }
    Action action = actions.remove(0);

    try {
      action.perform();
    } catch (Exception ex) {
      LOG
        .warn("Exception occurred during performing action: " + StringUtils.stringifyException(ex));
    }
  }
A policy which performs a sequence of actions deterministically.
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/policies/DoActionsOncePolicy.java