[
https://issues.apache.org/jira/browse/DRILL-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356543#comment-17356543
]
ASF GitHub Bot commented on DRILL-7941:
---------------------------------------
vvysotskyi commented on a change in pull request #2244:
URL: https://github.com/apache/drill/pull/2244#discussion_r644929089
##########
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:
Please remove junit / jupiter dependencies from here and move
`RepeatTestRule` to the tests folder.
--
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:
[email protected]
> Update JUnit from 4.13.2 to 5.7.2
> ---------------------------------
>
> Key: DRILL-7941
> URL: https://issues.apache.org/jira/browse/DRILL-7941
> Project: Apache Drill
> Issue Type: Task
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
>
> Currently Drill uses JUnit 4.13.2 as a unit test framework.
> It could be easily upgraded to JUnit 5.x by using junit-vintage-engine that
> provides same APIs as JUnit 4.x.
> The benefit is that this way any new tests could be written with JUnit 5.x
> APIs and all old test classes could be gradually migrated over time if
> desired.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)