-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21968/
-----------------------------------------------------------
(Updated June 4, 2014, 10:10 p.m.)
Review request for mesos, Adam B, Niklas Nielsen, and Vinod Kone.
Bugs: MESOS-878
https://issues.apache.org/jira/browse/MESOS-878
Repository: mesos-git
Description
-------
Added a sentence to check the slave's state in doReliableRegistration() to make
sure that the function returns immediately when the slave's state is
TERMINATING.
Beside, in order to make sure there's no more ReregistereSlaveMessage being
sent.I introduced EXPECT_NO_FUTURE_PROTOBUFS() and EXPECT_NO_FUTURE_MESSAGES().
Diffs
-----
3rdparty/libprocess/include/process/gmock.hpp daba7e3
src/slave/slave.cpp 3b10a4c
src/tests/mesos.hpp 9ece77a
src/tests/slave_tests.cpp 80fe3cf
Diff: https://reviews.apache.org/r/21968/diff/
Testing
-------
Slave_tests.cpp:TerminatingSlaveDoesNotReregister.
Thanks,
Yifan Gu