public void clearTestCounts() {
      synchronized (messageLock) {
        sentCount = checkAndSendCount = 0;
      }
    }
@param timeoutMs
@return false if the time elapsed
@throws InterruptedException
llap-tez/src/test/org/apache/hadoop/hive/llap/tezplugins/TestLlapTaskSchedulerService.java