@Test
  public void testJMXOverNonSSLWithClientUsingIncorrectPort() {
    assertThat(jmxPort).isNotEqualTo(9999);
    clusterStartupRule.startLocatorVM(0, locatorProperties);

    assertThatThrownBy(() -> mBeanServerConnectionRule.connect(9999))
        .hasRootCauseExactlyInstanceOf(java.net.ConnectException.class);
  }
All the non-ssl enabled locators need to be in a different VM than the ssl enabled locators in
these tests, otherwise, some tests would fail. Seems like dunit vm tear down did not clean up the
ssl settings cleanly.
geode-core/src/distributedTest/java/org/apache/geode/management/JMXMBeanDUnitTest.java