@Deprecated
  public static void pause(final int milliseconds) {
    if (milliseconds >= 1000 || logger.isDebugEnabled()) { // check for debug but log at info
      logger.info("Pausing for {} ms...", milliseconds);
    }
    final long target = System.currentTimeMillis() + milliseconds;
    try {
      for (;;) {
        long msLeft = target - System.currentTimeMillis();
        if (msLeft <= 0) {
          break;
        }
        Thread.sleep(msLeft);
      }
    } catch (InterruptedException e) {
      Assert.fail("interrupted", e);
    }
  }
Pause for the specified milliseconds. Make sure system clock has advanced by the specified
number of millis before returning.

@param milliseconds the number of milliseconds to pause

@deprecated Please use {@link GeodeAwaitility} instead.
geode-dunit/src/main/java/org/apache/geode/test/dunit/Wait.java