Martijn Visser created FLINK-41704:
--------------------------------------
Summary: [JUnit5 Migration] Extend BanJunit4Rules to base classes
and apply it to all migrated modules
Key: FLINK-41704
URL: https://issues.apache.org/jira/browse/FLINK-41704
Project: Flink
Issue Type: Sub-task
Components: Tests
Reporter: Martijn Visser
FLINK-33629 introduced BanJunit4Rules, but only flink-table-planner uses it. 20
modules with a TestCodeArchitectureTest have no JUnit 4 usage left and could
add it with an empty violation store, so new JUnit 4 tests can't come back. The
rule also misses classes that get JUnit 4 through a base class, such as
subclasses of TestLogger or JavaProgramTestBaseJUnit4: flink-table-planner
passes with an empty store although two of its tests still extend TestLogger.
We should extend the rule to cover that.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)