@Override
  public final void postSetUp() throws Exception {
    final Host host = Host.getHost(0);
    server1 = host.getVM(0);
    server2 = host.getVM(1);
    server3 = host.getVM(2);

    IgnoredException.addIgnoredException("java.io.IOException");
    IgnoredException.addIgnoredException("SocketException");

    // start servers first
    PORT1 = server1.invoke(HAStartupAndFailoverDUnitTest::createServerCache);
    PORT2 = server2.invoke(HAStartupAndFailoverDUnitTest::createServerCache);
    PORT3 = server3.invoke(HAStartupAndFailoverDUnitTest::createServerCache);
    CacheServerTestUtil.disableShufflingOfEndpoints();
  }
Test to verify Startup. and failover during startup.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/HAStartupAndFailoverDUnitTest.java