@Override
      public void beforeGoingToCompact() {
        region.getCache().getLogger().info("beforeGoingToCompact before sleep");
        try {
          Thread.sleep(1000);
        } catch (InterruptedException ignore) {
          fail("interrupted");
        }
        region.getCache().getLogger().info("beforeGoingToCompact after sleep");
      }
fault in a value that has been copied forward by compaction
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/FaultingInJUnitTest.java