@Test
  public void testCacheClientUpdaterInitiatesFailoverOnBothPrimaryAndSecondaryFailure()
      throws Exception {

    createClientCacheWithLargeRetryInterval(getName(),
        NetworkUtils.getServerHostName(server1.getHost()));
    server1.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsAlive);
    server2.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsNotAlive);
    server3.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsNotAlive);
    server1.invoke(HAStartupAndFailoverDUnitTest::stopServer);
    server2.invoke(HAStartupAndFailoverDUnitTest::stopServer);
    verifyDeadAndLiveServers(2, 1);
    server3.invoke(HAStartupAndFailoverDUnitTest::verifyDispatcherIsAlive);


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