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

rajeshbabu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-omid.git


The following commit(s) were added to refs/heads/master by this push:
     new 9cbbf95  OMID-196 Add junit test dependency for modules having 
minicluster tests
9cbbf95 is described below

commit 9cbbf954542c351e542a5ba318a25ed9e581cc67
Author: Rajeshbabu Chintaguntla <[email protected]>
AuthorDate: Sun Feb 14 00:50:45 2021 +0530

    OMID-196 Add junit test dependency for modules having minicluster tests
---
 hbase-client/pom.xml       | 13 ++++++++-----
 hbase-commit-table/pom.xml |  8 ++++++++
 hbase-coprocessor/pom.xml  |  8 ++++++++
 hbase-tools/pom.xml        |  8 ++++++++
 timestamp-storage/pom.xml  |  8 ++++++++
 tso-server/pom.xml         |  8 ++++++++
 6 files changed, 48 insertions(+), 5 deletions(-)

diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml
index aae83e9..6c22b79 100644
--- a/hbase-client/pom.xml
+++ b/hbase-client/pom.xml
@@ -107,16 +107,19 @@
 
         <!-- testing -->
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
             <version>${testng.version}</version>
             <scope>test</scope>
         </dependency>
+        <!-- Some Hadoop versions' minicluster dependencies don't pull this in
+             so need to add explicitly even though Omid uses testng.-->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-all</artifactId>
diff --git a/hbase-commit-table/pom.xml b/hbase-commit-table/pom.xml
index cec9e3d..9dcd686 100644
--- a/hbase-commit-table/pom.xml
+++ b/hbase-commit-table/pom.xml
@@ -96,6 +96,14 @@
             <version>${testng.version}</version>
             <scope>test</scope>
         </dependency>
+       <!-- Some Hadoop versions' minicluster dependencies don't pull this in
+            so need to add explicitly even though Omid uses testng.-->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.hbase</groupId>
             <artifactId>hbase-testing-util</artifactId>
diff --git a/hbase-coprocessor/pom.xml b/hbase-coprocessor/pom.xml
index 5b3f926..3b72bd3 100644
--- a/hbase-coprocessor/pom.xml
+++ b/hbase-coprocessor/pom.xml
@@ -93,6 +93,14 @@
             <version>${testng.version}</version>
             <scope>test</scope>
         </dependency>
+        <!-- Some Hadoop versions' minicluster dependencies don't pull this in
+             so need to add explicitly even though Omid uses testng.-->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.hamcrest</groupId>
             <artifactId>hamcrest-all</artifactId>
diff --git a/hbase-tools/pom.xml b/hbase-tools/pom.xml
index 1effaaa..2034ca3 100644
--- a/hbase-tools/pom.xml
+++ b/hbase-tools/pom.xml
@@ -81,6 +81,14 @@
             <version>${testng.version}</version>
             <scope>test</scope>
         </dependency>
+        <!-- Some Hadoop versions' minicluster dependencies don't pull this in
+             so need to add explicitly even though Omid uses testng.-->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.hbase</groupId>
             <artifactId>hbase-testing-util</artifactId>
diff --git a/timestamp-storage/pom.xml b/timestamp-storage/pom.xml
index baf9e8b..5bd45a6 100644
--- a/timestamp-storage/pom.xml
+++ b/timestamp-storage/pom.xml
@@ -99,6 +99,14 @@
             <version>${testng.version}</version>
             <scope>test</scope>
         </dependency>
+        <!-- Some Hadoop versions' minicluster dependencies don't pull this in
+             so need to add explicitly even though Omid uses testng.-->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-all</artifactId>
diff --git a/tso-server/pom.xml b/tso-server/pom.xml
index 0ce2eb8..f5e3bbf 100644
--- a/tso-server/pom.xml
+++ b/tso-server/pom.xml
@@ -205,6 +205,14 @@
             <version>${mockito.version}</version>
             <scope>test</scope>
         </dependency>
+        <!-- Some Hadoop versions' minicluster dependencies don't pull this in
+             so need to add explicitly even though Omid uses testng.-->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.hbase</groupId>
             <artifactId>hbase-testing-util</artifactId>

Reply via email to