@Override
      public boolean done() {
        return fCacheListener.hasReceivedAllCreateEvents();
      }
wait for queues to drain in the server
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/InterestListDUnitTest.java