[
https://issues.apache.org/jira/browse/FLINK-34422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-34422:
-------------------------------------
Description:
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.
was:
BatchTestBase sets up a table environment in instance fields, which runs before
the BeforeEachCallback from the MiniClusterExtension has time to run.
As a result _all_ test extending the BatchTestBase are spawning separate mini
clusters for every single job.
> 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
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)