@Override
      public void beforeGoingToCompact() {
        synchronized (this) {

          if (!callOnce) {
            try {

              region.destroy(10);
              region.destroy(20);
              region.destroy(30);
              region.destroy(40);
              region.destroy(50);

            } catch (Exception e) {
              logWriter.error("exception not expected", e);
              failureCause = "FAILED::" + e;
              testFailed = true;
              fail("FAILED::" + e);
            }
          }
          callOnce = true;
        }

      }
Entries deleted in current Oplog are recorded correctly during the rolling of that oplog
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegOplogSwtchingAndRollerJUnitTest.java