private static HRegion initHRegion(byte[] tableName, byte[]... families) throws IOException {
    return TEST_UTIL.createLocalHRegion(TableName.valueOf(tableName), HConstants.EMPTY_START_ROW,
      HConstants.EMPTY_END_ROW, CONF, false, Durability.SYNC_WAL, null, families);
  }
Puts a total of numRows + numRowsAfterFlush records indexed with numeric row keys. Does a flush
every flushInterval number of records. Then it puts numRowsAfterFlush number of more rows but
does not execute flush after
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionReplayEvents.java