@Override
      public List<Path> compact(ThroughputController throughputController, User user)
        throws IOException {
        try {
          isInCompact = true;
          synchronized (this) {
            this.wait();
          }
        } catch (InterruptedException e) {
          Assume.assumeNoException(e);
        }
        return new ArrayList<>();
      }
HBASE-7947: Regression test to ensure adding to the correct list in the {@link CompactSplit}
@throws Exception on failure
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompaction.java