@Override
    void markCompactionStop(boolean isFullRange) {
      compactStopCountdown.countDown();
      System.out.println("Calling compaction to stop, current count: " + compactStopCountdown.getCount());
    }
A mock {@link StorageManagerMetrics} that guarantees compaction as well as exception during compaction is completely
processed before switching to test thread.
ambry-store/src/test/java/com/github/ambry/store/CompactionManagerTest.java