public static void closeRegionAndWAL(final Region r) throws IOException {
    closeRegionAndWAL((HRegion) r);
  }
Close both the region {@code r} and it's underlying WAL. For use in tests.
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java