[
https://issues.apache.org/jira/browse/FLINK-34422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-34422.
------------------------------------
Resolution: Fixed
> 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)