mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kapil Arya" <>
Subject Review Request 35756: Fixed a race condition in hook tests for remove-executor hook.
Date Tue, 23 Jun 2015 00:53:32 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos and Niklas Nielsen.

Bugs: MESOS-2226

Repository: mesos


Previously, the code was not checking for TASK_RUNNING status message
from the MockExecutor before stopping the scheduler driver. This caused
the Executor to be terminated prematurely (before the tasks were
launched) and thus the remove-executor hook was never called. The fix
was to wait for the TASK_RUNNING status update and then wait for the
shutdown() within MockExecutor. Only then we wait for the future from
remove-executor hook.


  src/tests/hook_tests.cpp 3ffde6d6b2faeb5a8a40eb27c3b0a2b7f9ecd2b1 



make check.


Kapil Arya

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message