private static Region getRegion() throws CacheException {

    Region root = getRootRegion();
    Region region = root.getSubregion(REGION_NAME);
    if (region == null) {
      AttributesFactory factory = new AttributesFactory();
      factory.setScope(SCOPE);
      region = root.createSubregion(REGION_NAME, factory.create());
    }

    return region;
  }
Gets or creates a region used in this test
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/SystemFailureDUnitTest.java