@Test
  public void testInitiateFailoverByCacheOperationThreads_Secondary() throws Exception {
    // Stop the 3rd server to guarantee the client put will go to the first server
    server3.invoke(HAStartupAndFailoverDUnitTest::stopServer);
    // create a client with no client updater thread
    // so that only cache operation can detect a server failure and should initiate failover
    createClientCacheWithLargeRetryIntervalAndWithoutCallbackConnection(getName(),
        NetworkUtils.getServerHostName(server1.getHost()));
    server2.invoke(HAStartupAndFailoverDUnitTest::stopServer);
    put();
    verifyDeadAndLiveServers(1, 1);
  }
Tests failover initialization by cache operation Threads on secondary
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/HAStartupAndFailoverDUnitTest.java