-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46438/#review134448
-----------------------------------------------------------




src/tests/containerizer/cni_isolator_tests.cpp (line 457)
<https://reviews.apache.org/r/46438/#comment199250>

    Instead of that, let's use sleep 1000 and issue a kill after slave recovers.


- Jie Yu


On May 12, 2016, 8:14 a.m., Qian Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46438/
> -----------------------------------------------------------
> 
> (Updated May 12, 2016, 8:14 a.m.)
> 
> 
> Review request for mesos, Avinash sridharan and Jie Yu.
> 
> 
> Bugs: MESOS-5167
>     https://issues.apache.org/jira/browse/MESOS-5167
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added the test "CniIsolatorTest.ROOT_SlaveRecovery".
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/cni_isolator_tests.cpp PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/46438/diff/
> 
> 
> Testing
> -------
> 
> [ RUN      ] CniIsolatorTest.ROOT_SlaveRecovery
> I0420 22:36:44.632558 10440 exec.cpp:150] Version: 0.29.0
> I0420 22:36:44.655817 10456 exec.cpp:225] Executor registered on agent 
> 444d7f44-a320-42e4-874e-efa06378dc0f-S0
> Registered executor on mesos
> Starting task 190bb5f3-c917-4848-820b-bf76d9251cf6
> sh -c 'sleep 5'
> Forked command at 10463
> I0420 22:36:44.856591 10455 exec.cpp:271] Received reconnect request from 
> agent 444d7f44-a320-42e4-874e-efa06378dc0f-S0
> I0420 22:36:44.859297 10455 exec.cpp:248] Executor re-registered on agent 
> 444d7f44-a320-42e4-874e-efa06378dc0f-S0
> Re-registered executor on mesos
> Command exited with status 0 (pid: 10463)
> I0420 22:36:49.796159 10456 exec.cpp:399] Executor asked to shutdown
> [       OK ] CniIsolatorTest.ROOT_SlaveRecovery (6436 ms)
> 
> 
> Thanks,
> 
> Qian Zhang
> 
>

Reply via email to