private int createServer() throws IOException {
    cacheRule.createCache();

    RegionFactory<?, ?> regionFactory = cacheRule.getCache().createRegionFactory(REPLICATE);
    regionFactory.setEnableSubscriptionConflation(true);
    regionFactory.create(regionName);

    CacheServer cacheServer = cacheRule.getCache().addCacheServer();
    cacheServer.setPort(port);
    cacheServer.start();
    return cacheServer.getPort();
  }
Verifies that {@link RegionService#rootRegions()} does not return any {@link HARegion}s.

<p>
TRAC #37805: Cache level API is required, which will return rootRegions() excluding all Meta
Regions and HA Regions
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/RootRegionsExcludesHARegionsRegressionTest.java