[jira] [Created] (FLINK-3378) Consolidate TestingCluster and FokableFlinkMiniCluster

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

[jira] [Created] (FLINK-3378) Consolidate TestingCluster and FokableFlinkMiniCluster

Shang Yuanchun (Jira)
Maximilian Michels created FLINK-3378:
-----------------------------------------

             Summary: Consolidate TestingCluster and FokableFlinkMiniCluster
                 Key: FLINK-3378
                 URL: https://issues.apache.org/jira/browse/FLINK-3378
             Project: Flink
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 1.0.0
            Reporter: Maximilian Michels
             Fix For: 1.0.0


{{TestingCluster}} appears to be outdated and should be replaced by or consolidated with the {{ForkableMiniCluster}}. Both clusters start the testing actors. Additionally, ForkableMiniCluster cluster has support for forking, HA, and restarting actors.

As of now it looks like the use of both is arbitrary. The TestingCluster may produce test failures because multiple forked test instances could be trying to bind to the same free port.

It looks like the ForkableMiniCluster should also inherit from FlinkMiniCluster instead of LocalFlinkMiniCluster because it overwrites all inherited implementations of LocalFlinkMiniCluster.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)