Fixed EventCallFramework test to not ignore heartbeat events. Review: https://reviews.apache.org/r/37471
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0bdd72ad Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0bdd72ad Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0bdd72ad Branch: refs/heads/master Commit: 0bdd72ad7e0c0faeba968783d0cfc4d6ecd7c356 Parents: 4599f9f Author: Anand Mazumdar <[email protected]> Authored: Thu Aug 13 23:12:37 2015 -0700 Committer: Vinod Kone <[email protected]> Committed: Thu Aug 13 23:13:34 2015 -0700 ---------------------------------------------------------------------- src/examples/event_call_framework.cpp | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/0bdd72ad/src/examples/event_call_framework.cpp ---------------------------------------------------------------------- diff --git a/src/examples/event_call_framework.cpp b/src/examples/event_call_framework.cpp index 019e5c1..f0058fe 100644 --- a/src/examples/event_call_framework.cpp +++ b/src/examples/event_call_framework.cpp @@ -184,6 +184,11 @@ public: break; } + case Event::HEARTBEAT: { + cout << endl << "Received a HEARTBEAT event" << endl; + break; + } + default: { EXIT(1) << "Received an UNKNOWN event"; }
