@Ignore("TODO")
  @Test
  public void testMemoryFootprintOfHARegionQueuesWithAndWithoutOverflow() throws Exception {
    serverVM0.invoke(HARQueueNewImplDistributedTest::closeCache);
    serverVM1.invoke(HARQueueNewImplDistributedTest::closeCache);
    Thread.sleep(2000);
    Integer numOfEntries = 30;

    PORT1 = serverVM0.invoke(() -> HARQueueNewImplDistributedTest
        .createServerCache(HARegionQueue.HA_EVICTION_POLICY_MEMORY, 30));
    PORT2 = serverVM1.invoke(
        () -> HARQueueNewImplDistributedTest
            .createServerCache(HARegionQueue.HA_EVICTION_POLICY_NONE));

    serverVM0.invoke(() -> ConflationDistributedTestHelper.setIsSlowStart("60000"));
    serverVM1.invoke(() -> ConflationDistributedTestHelper.setIsSlowStart("60000"));

    createClientCache(getServerHostName(), PORT1, PORT2,
        "1");
    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::registerInterestListAll);
    clientVM2.invoke(HARQueueNewImplDistributedTest::registerInterestListAll);

    serverVM0.invoke(() -> HARQueueNewImplDistributedTest.putHeavyEntries(numOfEntries));

    Long usedMemInVM0 = serverVM0.invoke(() -> HARQueueNewImplDistributedTest
        .getUsedMemoryAndVerifyRegionSize(numOfEntries, PORT1));
    Long usedMemInVM1 = serverVM1.invoke(() -> HARQueueNewImplDistributedTest
        .getUsedMemoryAndVerifyRegionSize(numOfEntries, -1));

    serverVM0.invoke(ConflationDistributedTestHelper::unsetIsSlowStart);
    serverVM1.invoke(ConflationDistributedTestHelper::unsetIsSlowStart);

    logger.debug("Used Mem: " + usedMemInVM1 + "(without overflow), "
        + usedMemInVM0 + "(with overflow)");

    assertThat(usedMemInVM0 < usedMemInVM1).isTrue();
  }
This test verifies that the memory footprint of the ha region queues is less when ha-overflow
is enabled (with an appropriate value of haCapacity) compared to when it is disabled, for the
same amount of data feed.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARQueueNewImplDistributedTest.java