private void createClientServerConfiguration() {

    int PORT1 = server1.invoke(HAEventIdPropagationDistributedTest::createServerCache);
    client1.invoke(() -> HAEventIdPropagationDistributedTest
        .createClientCache(NetworkUtils.getServerHostName(server1.getHost()), PORT1));
  }
function to create a server and a client *
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HAEventIdPropagationDistributedTest.java