Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In tests like FaultToleranceTest.MasterFailover, Master instances are shut down 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).