Kapil Arya created MESOS-2641:
---------------------------------
Summary: Provide a way to synchronize between Modules and the test
suite
Key: MESOS-2641
URL: https://issues.apache.org/jira/browse/MESOS-2641
Project: Mesos
Issue Type: Improvement
Components: technical debt, test
Reporter: Kapil Arya
Currently, there is no way for a module to notify the test suite of certain
event(s) that might have taken place in the module. For example, when the
remove-executor hook has executed in a hook module, the test suite has no way
to figure out whether the hook executed successfully or not. In most cases we
rely on a later "Message" being sent for master, slave or executor, and
capturing this message (via future()) in the test suite. But for
remove-executor hook, there is not later message to be sent out and thus the
test suite has not way of waiting for a future.
We thus have to rely on non-Mesos ways such as passing a pointer from the test
suite to the module to register a promise (see RR
https://reviews.apache.org/r/29947/ for an example).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)