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>
(cherry picked from commit c8bee23)
  • Loading branch information
Apache9 committed Mar 15, 2023
1 parent e051400 commit b5dcd48
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 b5dcd48

Please sign in to comment.