@Override
  protected void runOneIteration() {
    Action actionOne = PolicyBasedChaosMonkey.selectRandomItem(actionsOne);
    Action actionTwo = PolicyBasedChaosMonkey.selectRandomItem(actionsTwo);

    Future fOne = executor.submit(new ActionRunner(actionOne));
    Future fTwo = executor.submit(new ActionRunner(actionTwo));

    try {
      fOne.get();
      fTwo.get();
    } catch (InterruptedException e) {
      LOG.warn("Exception occurred during performing action: " + StringUtils.stringifyException(e));
    } catch (ExecutionException ex) {
      LOG
        .warn("Exception occurred during performing action: " + StringUtils.stringifyException(ex));
    }
  }
Chaos Monkey policy that will run two different actions at the same time. A random action from
each array of actions will be chosen and then run in parallel.
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/policies/TwoConcurrentActionPolicy.java