private static String startLocatorCommand() {
    String ipAddress = docker.getIpAddressForService("haproxy", "geode-wan-test");
    return "start locator --name=locator --port=20334 --connect=false --redirect-output --enable-cluster-configuration=true --hostname-for-clients="
        + ipAddress + " --J=-Dgemfire.distributed-system-id=2";

  }
The aim of this test is verify that when several gateway receivers in a remote site share the
same port and hostname-for-senders, the pings sent from the gateway senders reach the right
gateway receiver and not just any of the receivers. Check that only one destination will be
pinged.
geode-assembly/src/acceptanceTest/java/org/apache/geode/cache/wan/SeveralGatewayReceiversWithSamePortAndHostnameForSendersTest.java