@Override
    public void afterExecution(Store store) {
      done.countDown();
    }
Simple {@link CompactionLifeCycleTracker} on which you can wait until the requested compaction
finishes.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompaction.java