@Test
  public void testLoad() throws IOException {
    procExec.submitProcedure(new DummyProcedure());
    // wait for the error
    HBTU.waitFor(30000, () -> !procExec.isRunning());
    procExec = new ProcedureExecutor<Void>(HBTU.getConfiguration(), null, procStore);
    // make sure there is no error while loading
    procExec.init(4, true);
  }
Testcase for HBASE-28210, where we persist the procedure which has been inserted later to
{@link RootProcedureState} first and then crash, and then cause holes in stack ids when loading,
and finally fail the start up of master.
hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/TestStackIdHoles.java