@Override
    public void hook(final int spot) throws RuntimeException {
      switch (spot) {
        case 5: // Before Index update and after region entry lock.
          hooked = true;
          LogWriterUtils.getLogWriter().fine("IndexManagerTestHook is hooked.");
          Wait.pause(100);
          // hooked = false;
          break;
        default:
          break;
      }
    }
Test creates a persistent-overflow region and performs updates in region which has compact
indexes and queries the indexes simultaneously.

This test's main purpose is to look for deadlock problems caused by NOT taking early locks on
compact indexes and remove the requirement of the system property
gemfire.index.acquireCompactIndexLocksWithRegionEntryLocks.
geode-core/src/distributedTest/java/org/apache/geode/cache/query/internal/index/ConcurrentIndexOperationsOnOverflowRegionDUnitTest.java