@Test
  public void testPersistentReplicateB4NonPersistent() {
    vm1.invoke(() -> {
      RegionFactory regionFactory = cacheRule.getCache().createRegionFactory(REPLICATE_PERSISTENT);
      Region region = regionFactory.create(regionName);

      assertThat(region.getAttributes().getConcurrencyChecksEnabled()).isTrue();
    });

    vm2.invoke(() -> {
      RegionFactory regionFactory =
          cacheRule.getCache().createRegionFactory(RegionShortcut.REPLICATE);
      Region region = regionFactory.create(regionName);

      assertThat(region.getAttributes().getConcurrencyChecksEnabled()).isTrue();
    });

    vm3.invoke(() -> {
      RegionFactory regionFactory = cacheRule.getCache().createRegionFactory();
      regionFactory.setScope(Scope.DISTRIBUTED_ACK);

      Region region = regionFactory.create(regionName);
      assertThat(region.getAttributes().getConcurrencyChecksEnabled()).isTrue();
    });
  }
Tests that invalidates and updates received from different VMs are handled appropriately by
overflow regions.
geode-core/src/distributedTest/java/org/apache/geode/cache30/DiskRegionDistributedTest.java