[jira] [Created] (FLINK-8700) Port tests from FlinkMiniCluster to MiniClusterResource

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8700) Port tests from FlinkMiniCluster to MiniClusterResource

Shang Yuanchun (Jira)
Aljoscha Krettek created FLINK-8700:
---------------------------------------

             Summary: Port tests from FlinkMiniCluster to MiniClusterResource
                 Key: FLINK-8700
                 URL: https://issues.apache.org/jira/browse/FLINK-8700
             Project: Flink
          Issue Type: New Feature
          Components: Tests
            Reporter: Aljoscha Krettek
             Fix For: 1.5.0


Quite some ITCases rely on {{FlinkMiniCluster}} and its subclasses ({{LocalFlinkMiniCluster}} and {{TestingCluster}}). This means they use the legacy {{JobManager}} and {{TaskManager}} and not the new FLIP-6 components which are enabled by default in Flink 1.5.0.

{{AbstractTestBase}} uses the new {{MiniClusterResource}} which encapsulates creation of a FLIP-6 cluster or legacy cluster. We should use this in all ITCases, which probably means that we have to extend it a bit, for example to allow access to a {{ClusterClient}}.

Transitively, {{TestBaseUtils.startCluster()}} also uses the legacy {{LocalFlinkMiniCluster}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)