This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new c8bee238fc5 HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)
c8bee238fc5 is described below

commit c8bee238fc51b82215cea844030a7a4dc9f6499c
Author: Duo Zhang <[email protected]>
AuthorDate: Wed Mar 15 10:40:03 2023 +0800

    HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)
    
    Signed-off-by: Guanghao Zhang <[email protected]>
---
 .../org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
index b4810bcbbae..661d020d0e8 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
@@ -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();
     }

Reply via email to