@Test
  public void testRedundancyLevelSpecifiedAndSatisfied() throws Exception {
    server1.invoke(RedundancyLevelTestBase::stopServer);
    createClientCache(NetworkUtils.getServerHostName(), PORT1, PORT2, PORT3, PORT4,
        2);

    verifyConnectedAndRedundantServers(3, 2);
    verifyOrderOfEndpoints();
    assertThat(pool.getRedundantNames().contains(SERVER3)).isTrue();
    assertThat(pool.getRedundantNames().contains(SERVER4)).isTrue();
    assertThat(pool.getPrimaryName().equals(SERVER1)).isTrue();
    assertThat(pool.getRedundantNames().contains(SERVER2)).isFalse();
    // start server
    server1.invoke(RedundancyLevelTestBase::startServer);
    Wait.pause(1000);
    verifyOrderOfEndpoints();
    assertThat(pool.getRedundantNames().contains(SERVER3)).isTrue();
    assertThat(pool.getRedundantNames().contains(SERVER4)).isTrue();
    assertThat(pool.getPrimaryName().equals(SERVER1)).isTrue();
    assertThat(pool.getRedundantNames().contains(SERVER2)).isFalse();
    server1.invoke(RedundancyLevelTestBase::verifyNoCCP);

  }
Redundancy level specified and satisfied, new EP is added then it should be added only in Live
server map and make sure that no CCP is created on the server.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/RedundancyLevelPart2DUnitTest.java