@Test
  public void testSplitBrainWithNonPersistentRegion() {
    vm1.invoke(() -> {
      createReplicateRegion(regionName, getDiskDirs(getVMId()));
      putEntry("A", "B");
      updateEntry("A", "C");
      getCache().getRegion(regionName).close();
    });

    vm0.invoke(() -> createReplicateRegion(regionName));

    vm1.invoke(() -> {
      try (IgnoredException ie = addIgnoredException(IllegalStateException.class)) {
        Throwable thrown = catchThrowable(() -> {
          createReplicateRegion(regionName, getDiskDirs(getVMId()));
        });
        assertThat(thrown).isInstanceOf(IllegalStateException.class);
      }
    });

    vm0.invoke(() -> getCache().getRegion(regionName).close());

    vm1.invoke(() -> {
      createReplicateRegion(regionName, getDiskDirs(getVMId()));

      validateEntry("A", "C");
      validateDiskRegionInitializationStats(true);
    });
  }
Test to make sure we don't leak any persistent ids if a member does GII while a distributed
destroy is in progress
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/persistence/PersistentRecoveryOrderDUnitTest.java