Till Rohrmann created FLINK-11415:
-------------------------------------
Summary: 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
Fix For: 1.8.0
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)