Martijn Visser created FLINK-41705:
--------------------------------------

             Summary: [JUnit5 Migration] Deprecate the remaining JUnit 4 test 
utilities and stop exporting junit-vintage-engine
                 Key: FLINK-41705
                 URL: https://issues.apache.org/jira/browse/FLINK-41705
             Project: Flink
          Issue Type: Sub-task
          Components: Tests
            Reporter: Martijn Visser


flink-test-utils-junit, flink-connector-test-utils and 
flink-architecture-tests-test declare junit-vintage-engine with compile scope, 
so connector repos get JUnit 4 and the vintage engine transitively. Several 
connector repos rely on that, and some still use TestLogger, 
TestExecutorResource, MiniClusterWithClientResource and AbstractTestBaseJUnit4. 
We should:
- deprecate these classes
- switch SourceReaderTestBase to TestLoggerExtension
- remove the JUnit 4 internals of TestBaseUtils, CommonTestUtils and 
ContextClassLoaderExtension
- add a release note that connectors have to declare JUnit 4 themselves when 
they still need it



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to