@Test
  public void getCacheServersShouldNotReturnGatewayReceivers_Scenario2() {
    Integer lnPort = vm0.invoke(() -> createFirstLocatorWithDSId(1));
    createCacheInVMs(lnPort, vm4);
    vm4.invoke(WANTestBase::createReceiver);

    createCacheInVMs(lnPort, vm5);
    vm5.invoke(WANTestBase::createCacheServer);

    @SuppressWarnings("rawtypes")
    Map cacheServers_vm4 = vm4.invoke(WANTestBase::getCacheServers);
    assertThat(cacheServers_vm4.get("BridgeServer"))
        .as("Cache.getCacheServers on vm4 returned incorrect BridgeServers")
        .isEqualTo(0);
    assertThat(cacheServers_vm4.get("ReceiverServer"))
        .as("Cache.getCacheServers on vm4 returned incorrect ReceiverServers")
        .isEqualTo(0);

    @SuppressWarnings("rawtypes")
    Map cacheServers_vm5 = vm5.invoke(WANTestBase::getCacheServers);
    assertThat(cacheServers_vm5.get("BridgeServer"))
        .as("Cache.getCacheServers on vm4 returned incorrect BridgeServers")
        .isEqualTo(1);
    assertThat(cacheServers_vm5.get("ReceiverServer"))
        .as("Cache.getCacheServers on vm4 returned incorrect ReceiverServers")
        .isEqualTo(0);
  }
Two VMs are part of the DS. One VM hosts a cache server while the other hosts a Receiver.
Expected: Cache.getCacheServers should only return the bridge server and not the Receiver.
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java