private static void verifyRootRegionsDoesNotReturnCMR(Integer port) {
    String cmrName = CacheServerImpl.generateNameForClientMsgsRegion(port);
    Map<Object, Object> haMap = cache.getRegion(cmrName);
    assertThat(haMap).isNotNull();
    String rName;

    for (Region<?, ?> region : cache.rootRegions()) {
      rName = region.getName();
      if (cmrName.equals(rName)) {
        throw new AssertionError(
            "Cache.rootRegions() method should not return the client_messages_region.");
      }
      logger.debug("Region name returned from cache.rootRegions(): " + rName);
    }
  }
This test verifies that the memory footprint of the ha region queues is less when ha-overflow
is enabled (with an appropriate value of haCapacity) compared to when it is disabled, for the
same amount of data feed.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARQueueNewImplDistributedTest.java