@Override
  public final void postSetUp() throws Exception {
    disconnectAllFromDS();

    final Host host = Host.getHost(0);
    // Server1 VM
    vm0 = host.getVM(0);

    // Server2 VM
    vm1 = host.getVM(1);

    // Client 1 VM
    vm2 = host.getVM(2);

    // client 2 VM
    vm3 = host.getVM(3);

    PORT1 = vm0.invoke(DestroyEntryPropagationDUnitTest::createServerCache);
    PORT2 = vm1.invoke(DestroyEntryPropagationDUnitTest::createServerCache);

    vm2.invoke(() -> DestroyEntryPropagationDUnitTest.createClientCache(
        NetworkUtils.getServerHostName(host), PORT1, PORT2));
    vm3.invoke(() -> DestroyEntryPropagationDUnitTest.createClientCache(
        NetworkUtils.getServerHostName(host), PORT1, PORT2));
  }
Tests propagation of destroy entry operation across the vms
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DestroyEntryPropagationDUnitTest.java