@Override
    public void beforeProcessMessage(ClusterDistributionManager dm, DistributionMessage message) {
      if (message instanceof RequestImageMessage) {
        RequestImageMessage requestImageMessage = (RequestImageMessage) message;
        // Don't bounce until we see a bucket
        if (requestImageMessage.regionPath.contains("_B_")) {
          DistributionMessageObserver.setInstance(null);
          addIgnoredException(CancelException.class);
          vmController.invoke(() -> beforeBounceLatch.countDown());
          try {
            WAIT_TO_BOUNCE.await(TIMEOUT_MILLIS, MILLISECONDS);
          } catch (InterruptedException e) {
            throw new RuntimeException(e);
          }
        }
      }
    }
Prevent GEODE-6232 by disabling JMX which is not needed in this test.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionHangsDuringRestartRegressionTest.java