You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2014/11/19 20:33:34 UTC
[jira] [Created] (MESOS-2134) Create ability to have slave-only
tests
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)