[
https://issues.apache.org/jira/browse/FLINK-41705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-41705:
-----------------------------------
Release Note: flink-test-utils-junit, flink-connector-test-utils and
flink-architecture-tests-test no longer provide junit-vintage-engine and
junit:junit transitively. Projects that still run JUnit 4 tests have to add
these dependencies themselves. (was: Release note: flink-test-utils-junit,
flink-connector-test-utils and flink-architecture-tests-test no longer provide
junit-vintage-engine and junit:junit transitively. Projects that still run
JUnit 4 tests have to add these dependencies themselves.)
> [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
> Priority: Major
>
> 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)