[ 
https://issues.apache.org/jira/browse/FLINK-33629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonard Xu resolved FLINK-33629.
--------------------------------
    Resolution: Fixed

master(1.19): 34436e70d58f61f2746e707647ad0135788e2b95

> Introduce ArchTest rules to ban Junit 4 for modules already completed the 
> migration
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-33629
>                 URL: https://issues.apache.org/jira/browse/FLINK-33629
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Tests
>    Affects Versions: 1.18.0
>            Reporter: Jiabao Sun
>            Assignee: Jiabao Sun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>
> Currently, many modules have already completed the migration to JUnit 5, and 
> we need to prevent the introduction of JUnit 4 tests in new PRs. 
> However, completely removing the dependency on JUnit 4 is challenging. It 
> requires defining JUnit 4 as optional in the flink-parent module and allowing 
> sub-modules to selectively include it. However, this approach still cannot 
> solve the issue of transitive dependencies. 
> Therefore, considering introducing new rules in ArchTest to prohibit the 
> usage of JUnit 4 in modules that have already completed the migration.



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

Reply via email to