private void assertProcFailed(long procId) {
    assertTrue("expected completed proc", procExecutor.isFinished(procId));
    Procedure<?> result = procExecutor.getResult(procId);
    assertEquals(true, result.isFailed());
    LOG.info(result.getException().getMessage());
  }
Test the state setting that happens after store to WAL; in particular the bit where we set the
parent runnable again after its children have all completed successfully. See HBASE-20978.
hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestChildProcedures.java