@Test
  public void regionPutWorksWithThreadMonitorDisabled() {
    for (VM vm : asList(getVM(0))) {
      vm.invoke(() -> {
        Region<Object, Object> region = cache.get().getRegion(REGION_NAME);
        region.put("key", "value");
      });
    }
    for (VM vm : asList(getVM(0), getVM(1))) {
      vm.invoke(() -> {
        Region<Object, Object> region = cache.get().getRegion(REGION_NAME);
        assertThat(region.get("key")).isEqualTo("value");
      });
    }
  }
With thread-monitor-enabled==false the p2p reader died with
a NullPointerException. This test verifies that p2p messaging
works with thread monitoring disabled.
geode-core/src/distributedTest/java/org/apache/geode/cache/ThreadMonitorDisabledDistributedTest.java