[ https://issues.apache.org/jira/browse/FLINK-8700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16371127#comment-16371127 ]
Chesnay Schepler commented on FLINK-8700: ----------------------------------------- [~mingleizhang] is correct, we can't remove the method as it is used by the `MiniClusterResource` to create a legacy cluster. We should however look at other usages, but I'm doing that already as part of FLINK-8703. > Port tests from FlinkMiniCluster to MiniClusterResource > ------------------------------------------------------- > > Key: FLINK-8700 > URL: https://issues.apache.org/jira/browse/FLINK-8700 > Project: Flink > Issue Type: Improvement > Components: Tests > Reporter: Aljoscha Krettek > Priority: Blocker > 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)