[ 
https://issues.apache.org/jira/browse/MESOS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747762#comment-13747762
 ] 

Yan Xu commented on MESOS-655:
------------------------------

https://reviews.apache.org/r/13746/
                
> FaultToleranceTest.MasterFailover not simulating a realistic Master shutdown
> ----------------------------------------------------------------------------
>
>                 Key: MESOS-655
>                 URL: https://issues.apache.org/jira/browse/MESOS-655
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Yan Xu
>             Fix For: 0.15.0
>
>
> In tests like FaultToleranceTest.MasterFailover, Master instances are [shut 
> down|https://github.com/apache/mesos/blob/604fbdac046e17951620bfd8db6af5f8ade3525c/src/tests/cluster.hpp]
>  by process::terminate() and pointer deletion.
> This invokes Master::finalize() and Master::~Master(), which remove tasks, 
> frameworks and slaves. When the Master shuts down in production, though, it 
> commits suicide by LOG(FATAL) which doesn't send any of these messages.
> We should simulate a Master shutdown similar to LOG(FATAL).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to