Skip to content

Commit

Permalink
HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)
Browse files Browse the repository at this point in the history
Signed-off-by: Guanghao Zhang <zghao@apache.org>
  • Loading branch information
Apache9 authored Mar 15, 2023
1 parent ce7b1d4 commit c8bee23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void test() throws Exception {
currentFile = new Path(oldLogDir, currentFile.getName());
}
// if the log is not rolled, then we can never open this wal forever.
try (WALStreamReader reader = WALFactory.createStreamReader(TEST_UTIL.getTestFileSystem(),
try (WALStreamReader reader = NoEOFWALStreamReader.create(TEST_UTIL.getTestFileSystem(),
currentFile, TEST_UTIL.getConfiguration())) {
reader.next();
}
Expand Down

0 comments on commit c8bee23

Please sign in to comment.