private static void waitForNoRebalancing() {
    if (cache != null && !cache.isClosed()) {
      await().until(() -> {
        return cache.getResourceManager().getRebalanceOperations().size() == 0;
      });
    }
  }
Some tests run so quickly that the rebalance operation doesn't even have time to start before
regions are already being destroyed - GEDOE-4312.
geode-dunit/src/main/java/org/apache/geode/cache30/CacheXmlTestCase.java