You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2024/02/12 11:02:00 UTC

[jira] [Commented] (FLINK-34422) BatchTestBase doesn't actually use MiniClusterExtension

    [ https://issues.apache.org/jira/browse/FLINK-34422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816573#comment-17816573 ] 

Chesnay Schepler commented on FLINK-34422:
------------------------------------------

master:
1.19:
1.18: d69393678efe7e26bd5168407a1c862cd4a0e148

> BatchTestBase doesn't actually use MiniClusterExtension
> -------------------------------------------------------
>
>                 Key: FLINK-34422
>                 URL: https://issues.apache.org/jira/browse/FLINK-34422
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Test Infrastructure
>    Affects Versions: 1.18.1
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0, 1.18.2, 1.20.0
>
>
> BatchTestBase sets up a table environment in instance fields, which runs before the BeforeEachCallback from the MiniClusterExtension has time to run.
> As a result the table environment internally creates a local stream environment, due to which _all_ test extending the BatchTestBase are spawning separate mini clusters for every single job.
> I believe this is on reason why we had troubles with enabling fork-reuse in the planner module



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