[ https://issues.apache.org/jira/browse/HADOOP-14693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404427#comment-17404427 ]
Akira Ajisaka commented on HADOOP-14693: ---------------------------------------- Hi [~smeng] I appreciated that you are trying to upgrade JUnit in [https://github.com/apache/hadoop/pull/3316] I tried the plugin in some other modules and found a problem: * KerberosSecurityTestCase in hadoop-minikdc module has JUnit 4 dependency in compile (not test) scope, and it is used from many modules. Therefore we need to upgrade all the unit tests that extend KerberosSecurityTestCase at once. To mitigate the situation, we can create JUnit 5 based KerberosSecurityTestCase so that we don't need to upgrade the unit tests at the same time. There are many other test utils, and most of them have the same problem. Hi [~ste...@apache.org] I'm +1 for gradually moving to AssertJ. The error message in AssertJ is more verbose and it has many useful methods. > Upgrade JUnit from 4 to 5 > ------------------------- > > Key: HADOOP-14693 > URL: https://issues.apache.org/jira/browse/HADOOP-14693 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Akira Ajisaka > Priority: Major > Labels: pull-request-available > Time Spent: 1h 40m > Remaining Estimate: 0h > > JUnit 4 does not support Java 9. We need to upgrade this. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org