public synchronized void await() throws InterruptedException {
      while (!completed) {
        wait();
      }
    }
Confirm that the function of CompactionLifeCycleTracker is OK as we do not use it in our own
code.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompactionLifeCycleTracker.java