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

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


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 42b401adcc2 HBASE-28965 Addendum fix TestLeaseRenewal on hadoop 3.3.x 
(#6474)
42b401adcc2 is described below

commit 42b401adcc2d4a4be292677df78786f666a8c733
Author: Duo Zhang <[email protected]>
AuthorDate: Fri Nov 15 22:35:59 2024 +0800

    HBASE-28965 Addendum fix TestLeaseRenewal on hadoop 3.3.x (#6474)
    
    (cherry picked from commit 3bd7bea3a3f0eaf4f4d2b1515bed2755ac0e507a)
---
 .../java/org/apache/hadoop/hbase/io/asyncfs/TestLeaseRenewal.java     | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestLeaseRenewal.java
 
b/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestLeaseRenewal.java
index e8f7188518d..71f84b63133 100644
--- 
a/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestLeaseRenewal.java
+++ 
b/hbase-asyncfs/src/test/java/org/apache/hadoop/hbase/io/asyncfs/TestLeaseRenewal.java
@@ -129,8 +129,6 @@ public class TestLeaseRenewal extends AsyncFSTestBase {
           getUniqKeyMethod.get().invoke(verify(dummy));
           Method getNamespaceMethod = 
DFSOutputStream.class.getMethod("getNamespace");
           getNamespaceMethod.invoke(verify(dummy));
-        } else {
-          verify(dummy).getFileId();
         }
         verifyNoMoreInteractions(dummy);
       }
@@ -141,8 +139,6 @@ public class TestLeaseRenewal extends AsyncFSTestBase {
     Optional<Method> getUniqKeyMethod = getUniqKeyMethod();
     if (getUniqKeyMethod.isPresent()) {
       getUniqKeyMethod.get().invoke(verify(dummy));
-    } else {
-      verify(dummy).getFileId();
     }
   }
 

Reply via email to