@Test
  public void testTwoBridgeServersInOneVMDoShareCMR() throws Exception {
    // slow start for dispatcher
    serverVM0.invoke(() -> ConflationDistributedTestHelper.setIsSlowStart("30000"));

    Integer port3 = serverVM0
        .invoke(() -> HARQueueNewImplDistributedTest.createOneMoreBridgeServer(Boolean.TRUE));

    createClientCache(getServerHostName(), PORT1, port3, "0");
    final String client1Host = getServerHostName();
    clientVM1.invoke(() -> HARQueueNewImplDistributedTest.createClientCache(client1Host,
        PORT1, PORT2, "1"));
    final String client2Host = getServerHostName();
    clientVM2.invoke(() -> HARQueueNewImplDistributedTest.createClientCache(client2Host,
        PORT1, PORT2, "1"));

    registerInterestListAll();
    clientVM1.invoke(HARQueueNewImplDistributedTest::registerInterestList);
    clientVM2.invoke(HARQueueNewImplDistributedTest::registerInterestList);

    serverVM0.invoke((SerializableRunnableIF) HARQueueNewImplDistributedTest::createEntries);

    serverVM0.invoke(() -> HARQueueNewImplDistributedTest.verifyRegionSize(5, 5));
    serverVM0.invoke(
        () -> HARQueueNewImplDistributedTest.verifyRegionSize(5, 5));
  }
This test verifies that when two BridgeServerImpl instances are created in a single VM, they do
share the client-messages-region.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARQueueNewImplDistributedTest.java