@Override
  default void run() {
    if (!done()) {
      fail(description());
    }

  }
Defines an asynchronous criterion to wait for by invoking a method in {@link Wait}.

<p>
Extracted from DistributedTestCase.

<p>
See javadocs on {@link Wait} for examples and guidelines for converting to Awaitility.

@deprecated Use {@link GeodeAwaitility} instead.

@see Wait
@see GeodeAwaitility
@see org.awaitility.Durations
@see org.awaitility.core.ConditionFactory
geode-dunit/src/main/java/org/apache/geode/test/dunit/WaitCriterion.java