private static void clearRegion() {
    try {
      for (final Object o : hrq.getRegion().keys()) {
        hrq.getRegion().localDestroy(o);
      }
    } catch (Exception e) {
      fail("Exception occurred while trying to destroy region", e);
    }

  }
create a client with 2 regions sharing a common writer
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARegionQueueDUnitTest.java