You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2021/06/03 16:26:52 UTC

[GitHub] [drill] martin-g commented on a change in pull request #2244: DRILL-7941 Update JUnit from 4.13.2 to 5.7.2

martin-g commented on a change in pull request #2244:
URL: https://github.com/apache/drill/pull/2244#discussion_r644947522



##########
File path: common/pom.xml
##########
@@ -37,11 +37,21 @@
       <artifactId>drill-protocol</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <version>${junit.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <version>${junit.version}</version>
+    </dependency>
     <dependency>
       <!-- add as provided scope so that we can compile TestTools.  Should only be ever used in a test scenario where someone else is bringing JUnit in. -->
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>${junit.version}</version>
+      <scope>provided</scope>

Review comment:
       @vvysotskyi RepeatTestRule is currently at common/src/main/java/org/apache/drill/common/util/RepeatTestRule.java
   But it is used by:
   1) exec/java-exec/src/test/java/org/apache/drill/exec/server/TestDrillbitResilience.java
   2) common/src/test/java/org/apache/drill/test/TestTools.java
   
   So, to do what you suggest I have to copy it in two modules - java-exec and common.
   Or to move it in common/src/test/... and then in java-exec/pom.xml to add a dependency to common-tests.jar 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org