You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2026/10/12 11:31:00 UTC
[jira] [Commented] (FLINK-31955) Prevent JUnit 4 usage for the new code with Checkstyle
[ https://issues.apache.org/jira/browse/FLINK-31955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126286#comment-18126286 ]
Martijn Visser commented on FLINK-31955:
----------------------------------------
New JUnit 4 tests keep landing after a package was migrated, e.g. {{AsyncLookupJoinRunnerTimeoutTest}} (FLINK-39839) and {{DoubleAccumulatorTest}} (FLINK-34025). {{BanJunit4Rules}} from FLINK-33629 only runs in flink-table-planner, and flink-runtime and flink-table-runtime don't run the architecture tests at all.
> Prevent JUnit 4 usage for the new code with Checkstyle
> ------------------------------------------------------
>
> Key: FLINK-31955
> URL: https://issues.apache.org/jira/browse/FLINK-31955
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Environment: Based on [https://lists.apache.org/thread/xl456044hmxk87mwq02p4m22yp3b04sc] discussion.
>
> We'll set up a Checkstyle rule that disallows JUnit 4 usage and create a one-off suppression list for the existing violations.
> Reporter: David Morávek
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)