@Test
  public void abortProcedure() throws Exception {
    long procId = ThreadLocalRandom.current().nextLong();
    boolean abortResult = admin.abortProcedure(procId, true).get();
    assertFalse(abortResult);
  }
Class to test asynchronous procedure admin operations.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcedureAdminApi.java