@Test
  public void testStartTwoLocatorsWithSingleKeystoreSSL() throws Exception {
    String locators = hostName + "[" + port1 + "]," + hostName + "[" + port2 + "]";

    Properties properties = getClusterProperties(locators, "false");
    properties.setProperty(SSL_CIPHERS, "any");
    properties.setProperty(SSL_ENABLED_COMPONENTS, LOCATOR.getConstant());
    properties.setProperty(SSL_KEYSTORE, getSingleKeyKeystore());
    properties.setProperty(SSL_KEYSTORE_PASSWORD, "password");
    properties.setProperty(SSL_KEYSTORE_TYPE, "JKS");
    properties.setProperty(SSL_PROTOCOLS, "TLSv1.2");
    properties.setProperty(SSL_TRUSTSTORE, getSingleKeyKeystore());
    properties.setProperty(SSL_TRUSTSTORE_PASSWORD, "password");

    startVerifyAndStopLocator(vm1, vm2, port1, port2, properties);
  }
Bug 30341 concerns race conditions in JGroups that allow two locators to start up in a
split-brain configuration. To work around this we have always told customers that they need to
stagger the starting of locators. This test configures two locators to start up simultaneously
and shows that they find each other and form a single system.
geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java