[ 
https://issues.apache.org/jira/browse/HADOOP-19691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18022575#comment-18022575
 ] 

ASF GitHub Bot commented on HADOOP-19691:
-----------------------------------------

slfan1989 merged PR #7976:
URL: https://github.com/apache/hadoop/pull/7976




> [JDK17] Disallow JUnit4 Imports After JUnit5 Migration
> ------------------------------------------------------
>
>                 Key: HADOOP-19691
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19691
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 3.5.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>
> As our project has fully migrated to JUnit5, we should now enforce a rule 
> that prevents the import and usage of JUnit4 classes (such as org.junit.Test, 
> org.junit.Assert, etc.) to ensure consistency, avoid regressions, and allow 
> safe removal of legacy dependencies.
> This task involves identifying and eliminating any remaining JUnit4 imports, 
> and introducing static code analysis or linting rules to ban future usage.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to