This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 3bd7bea3a3f HBASE-28965 Addendum fix TestLeaseRenewal on hadoop 3.3.x
(#6474)
3bd7bea3a3f is described below
commit 3bd7bea3a3f0eaf4f4d2b1515bed2755ac0e507a
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)
---
.../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();
}
}