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 8919ad4bd5f HBASE-29925 TestCheckTestClasses fails on branch-2.x with
JDK8 (#7798)
8919ad4bd5f is described below
commit 8919ad4bd5f5b917b02c0b70fc451e1c7ced9e51
Author: Liu Xiao <[email protected]>
AuthorDate: Fri Feb 27 23:00:45 2026 +0800
HBASE-29925 TestCheckTestClasses fails on branch-2.x with JDK8 (#7798)
Signed-off-by: Duo Zhang <[email protected]>
Signed-off-by: Dávid Paksy <[email protected]>
(cherry picked from commit 04900c786e49f13ab498ddb5628be44181c2f765)
---
hbase-server/pom.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index d68a186eae1..ec5ad9444d9 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -323,6 +323,16 @@
<artifactId>mockito-inline</artifactId>
<scope>test</scope>
</dependency>
+ <!--
+ TODO: The below dependencies are for passing TestCheckTestClasses under
JDK8,
+ see HBASE-29925 for more details. Once we finish the migration of
JUnit5, which means
+ we do not need TestCheckTestClasses any more, we can remove these
dependencies.
+ -->
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>