protected void waitForClose() {
    if (diskException.get() != null) {
      try {
        _testHandleDiskAccessException.await();
      } catch (InterruptedException ignore) {
        Thread.currentThread().interrupt();
      }
    }
  }
It invokes appropriate methods of super & current class to clear the Oplogs.

@param rvv if not null, clear the region using the version vector
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java