From ff7dae1fc49ec5310b59eae5196debc11cca108e Mon Sep 17 00:00:00 2001 From: lupeng Date: Thu, 8 Aug 2024 20:01:22 +0800 Subject: [PATCH] HBASE-28768 hbase-table-reporter shoud use the hbase.version declared in the parent pom.xml and use junit for UT Signed-off-by: Pankaj Kumar Signed-off-by: Nihal Jain --- hbase-table-reporter/pom.xml | 8 +++++++- .../java/org/apache/hbase/reporter/TestTableReporter.java | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hbase-table-reporter/pom.xml b/hbase-table-reporter/pom.xml index cb0535dffd..1cedca723b 100644 --- a/hbase-table-reporter/pom.xml +++ b/hbase-table-reporter/pom.xml @@ -33,6 +33,12 @@ 3.6.1 + + junit + junit + ${junit.version} + test + org.slf4j slf4j-api @@ -46,7 +52,7 @@ org.apache.hbase hbase-shaded-client - 2.1.1 + ${hbase.version} org.apache.datasketches diff --git a/hbase-table-reporter/src/test/java/org/apache/hbase/reporter/TestTableReporter.java b/hbase-table-reporter/src/test/java/org/apache/hbase/reporter/TestTableReporter.java index 049d8edc3c..4c3971df6f 100644 --- a/hbase-table-reporter/src/test/java/org/apache/hbase/reporter/TestTableReporter.java +++ b/hbase-table-reporter/src/test/java/org/apache/hbase/reporter/TestTableReporter.java @@ -17,7 +17,7 @@ */ package org.apache.hbase.reporter; -import static org.apache.hadoop.hbase.shaded.junit.framework.TestCase.assertEquals; +import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List;