[
https://issues.apache.org/jira/browse/FLINK-11415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann closed FLINK-11415.
---------------------------------
Resolution: Fixed
Fixed via cae914f82e6b115be5c362a874160ebb7cea8eec
> Introduce JobMasterServiceFactor for JobManagerRunner
> -----------------------------------------------------
>
> Key: FLINK-11415
> URL: https://issues.apache.org/jira/browse/FLINK-11415
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Coordination
> Affects Versions: 1.8.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.8.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In order to better test the {{JobManagerRunner}}, I suggest to introduce a
> {{JobMasterServiceFactory}} which allows to control how the
> {{JobManagerRunner}} instantiates a {{JobMasterService}}. At the moment we
> create a {{JobMaster}} in the constructor of the {{JobManagerRunner}}. This
> unnecessarily couples these two components together and makes testing harder.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)