You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/10/24 15:08:00 UTC
[jira] [Created] (FLINK-7909) Unify cluster creation for test bases
Till Rohrmann created FLINK-7909:
------------------------------------
Summary: Unify cluster creation for test bases
Key: FLINK-7909
URL: https://issues.apache.org/jira/browse/FLINK-7909
Project: Flink
Issue Type: Improvement
Components: Tests
Affects Versions: 1.4.0
Reporter: Till Rohrmann
Assignee: Till Rohrmann
Flink contains different test bases, e.g. {{AbstractTestBase}}, {{MultipleProgramsTestBase}}, {{JavaProgramTestBase}} and the {{StreamingMultipleProgramsTestBase}}. Some of them start resources ({{FlinkMiniCluster}}) automatically, while others expose a start method. Some test bases set the {{ExecutionEnvironment}} while others use the {{FlinkMiniCluster}} directly. In order to make things more maintainable I propose to unify these test bases a bit and introduce an {{ExternalResource}} which encapsulates the resource start up and shut down.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)