@Test
  public void testProbablePrimaryFailureInRegisterInterest() throws Exception {
    createClientPoolCache(getName(), NetworkUtils.getServerHostName(server1.getHost()));
    createEntriesK1andK2();
    server1.invoke(HAInterestTestCase::createEntriesK1andK2);
    server2.invoke(HAInterestTestCase::createEntriesK1andK2);
    server3.invoke(HAInterestTestCase::createEntriesK1andK2);

    VM oldPrimary = getPrimaryVM();
    stopPrimaryAndRegisterK1AndK2AndVerifyResponse();

    verifyDeadAndLiveServers(1, 2);
    VM newPrimary = getPrimaryVM(oldPrimary);
    newPrimary.invoke(HAInterestTestCase::verifyDispatcherIsAlive);
    newPrimary.invoke(HAInterestTestCase::verifyInterestRegistration);
  }
Tests if Primary fails during interest registration , it selects new primary from the ep list
after making this ep as primary it fails , so interest registration will initiate failover on
this ep as well it should pick new primary from ep list and these two server to dead ep list
and expect serverKeys as a response from registration on newly selected primary
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/HAInterestPart1DUnitTest.java