private void createRR(MemberVM memberVM) {
    memberVM.invoke("Create replicateRegion", () -> {
      Cache cache = ClusterStartupRule.getCache();
      assertThat(cache).isNotNull();

      DiskStoreFactory diskStoreFactory = cache.createDiskStoreFactory();
      diskStoreFactory.setDiskDirs(getMyDiskDirs());
      diskStoreFactory.create(RR_DISK_STORE_NAME);

      RegionFactory<Integer, TestDelta> regionFactory = cache.createRegionFactory();
      regionFactory.setDataPolicy(DataPolicy.REPLICATE);
      regionFactory.setDiskStoreName(RR_DISK_STORE_NAME);
      regionFactory.setDiskSynchronous(true);
      regionFactory.setEvictionAttributes(EvictionAttributes.createLRUMemoryAttributes(1,
          new TestObjectSizer(), EvictionAction.OVERFLOW_TO_DISK));
      regionFactory.setScope(Scope.DISTRIBUTED_ACK);

      regionFactory.create(TEST_REGION_NAME);
    });
  }
Tests the use of the per-delta "forceRecalculateSize" flag.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/DeltaForceSizingFlagDUnitTest.java