@Deprecated
  public static long waitForExpiryClockToChange(final LocalRegion cacheTimeMillisSource,
      final long baseTime) {
    long nowTime;
    do {
      Thread.yield();
      nowTime = cacheTimeMillisSource.cacheTimeMillis();
    } while ((nowTime - baseTime) <= 0L);
    return nowTime;
  }
Blocks until the clock used for expiration moves forward.

@param cacheTimeMillisSource region that provides cacheTimeMillis
@param baseTime the timestamp that the clock must exceed
@return the last time stamp observed
@deprecated Please use {@link GeodeAwaitility} instead.
geode-dunit/src/main/java/org/apache/geode/test/dunit/Wait.java