HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
ce7b1d4e4f
commit
c8bee238fc
|
@ -121,7 +121,7 @@ public class TestWALOpenAfterDNRollingStart {
|
|||
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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue