static void awaitCountDownLatch(CountDownLatch countDownLatch, String jobType) throws InterruptedException {
    if (!countDownLatch.await(10, TimeUnit.SECONDS)) {
      fail("Not all " + jobType + " callbacks have been returned. Pending count: " + countDownLatch.getCount());
    }
  }
Awaits for {@code countDownLatch} to count down to 0.
@param countDownLatch the {@link CountDownLatch} that needs to be awaited against
@param jobType the job type of the count down latch
@throws InterruptedException
ambry-router/src/test/java/com/github/ambry/router/CryptoJobHandlerTest.java