[ https://issues.apache.org/jira/browse/FLINK-34422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816573#comment-17816573 ]
Chesnay Schepler edited comment on FLINK-34422 at 2/12/24 11:04 AM: -------------------------------------------------------------------- master: 65727fb943807f1ff5345419ce389c5734df0cb4 4c4643c3251c284260c96a2110f4b78c8a369723 1.19: 1.18: d69393678efe7e26bd5168407a1c862cd4a0e148 was (Author: zentol): 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)