private void concurrentNetSearchGetAndClear() throws InterruptedException {
    InternalRegion region = getCache().getInternalRegionByPath(SEPARATOR + regionName);
    assertThat(region.size()).isEqualTo(7);

    Thread getter = new Thread(new Getter(region));

    region.getDiskRegion().acquireWriteLock();
    try {
      doConcurrentNetSearchGetAndClear(getter, region);
    } finally {
      region.getDiskRegion().releaseWriteLock();
    }

    // allow getThread to join to set getAfterClearSuccessful
    getter.join();
  }
The Clear operation during a NetSearchMessage.doGet() in progress can cause DiskAccessException
by accessing cleared oplogs and eventually destroy region. The Test verifies that fix prevents
this.

<p>
Test must be DistributedTest because it requires ClusterDistributionManager.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ClearDuringNetSearchOplogRegressionTest.java