private WALStreamReader createWALReaderForPrimary() throws FileNotFoundException, IOException {
    return NoEOFWALStreamReader.create(TEST_UTIL.getTestFileSystem(),
      AbstractFSWALProvider.getCurrentFileName(walPrimary), TEST_UTIL.getConfiguration());
  }
Tests a case where we replay only a flush start marker, then the region is closed. This region
should not block indefinitely
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionReplayEvents.java