Dominic Hamon created MESOS-2134:
------------------------------------
Summary: Create ability to have slave-only tests
Key: MESOS-2134
URL: https://issues.apache.org/jira/browse/MESOS-2134
Project: Mesos
Issue Type: Bug
Components: test
Reporter: Dominic Hamon
When creating a test that only calls {{StartSlave}} without {{StartMaster}},
the test will segfault.
Creating a {{StandaloneMasterDetector}} without a leader and passing that into
{{StartSlave}} also segfaults within {{detect}}.
Adding special cases to the {{StandaloneMasterDetector}} to return {{None()}}
when {{leader.isNone()}} fixes the issue, but changes the semantics of the
detector, so more thought is needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)