----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70671/ -----------------------------------------------------------
(Updated May 28, 2019, 5:35 p.m.) Review request for mesos and Benjamin Mahler. Changes ------- - added mock methods for all event types - fixed the lifetime issues by using the common process+wrapper pattern (destroying a mock terminates the process first) Repository: mesos Description ------- This patch introduces a class with mock methods for subscribing to the events of master's V1 streaming API and setting expectations for them. Diffs (updated) ----- src/Makefile.am 5f97523fbe2d80733fbdcc7706f2761f5a071f9f src/tests/CMakeLists.txt e6b1d8a097246f0921467d7f778034d6754fcff6 src/tests/master/mock_master_api_subscriber.hpp PRE-CREATION src/tests/master/mock_master_api_subscriber.cpp PRE-CREATION Diff: https://reviews.apache.org/r/70671/diff/3/ Changes: https://reviews.apache.org/r/70671/diff/2-3/ Testing ------- Thanks, Andrei Sekretenko