@Test
  public void testCacheClientUpdaterInitiatesFailoverOnSecondaryFailure() throws Exception {
    createClientCacheWithLargeRetryInterval(getName(),
        NetworkUtils.getServerHostName(server1.getHost()));
    server1.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsAlive);
    server2.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsNotAlive);
    server3.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsNotAlive);
    server2.invoke(HAStartupAndFailoverDUnitTest::stopServer);
    verifyDeadAndLiveServers(1, 2);
    server1.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsAlive);
    server3.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsNotAlive);

  }
Tests failover initialization by cacheClientUpdater Thread on failure on Secondary server
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/HAStartupAndFailoverDUnitTest.java