mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Sekretenko <asekrete...@mesosphere.io>
Subject Review Request 70756: Refactored some of `MasterAPITest`s using MockMasterAPISubscriber.
Date Wed, 29 May 2019 18:42:36 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70756/
-----------------------------------------------------------

Review request for mesos, Benno Evers, Benjamin Mahler, Greg Mann, and Joseph Wu.


Repository: mesos


Description
-------

This patch replaces reading out all Master API events (both interesting
and uninteresting ones) in the code of the tests with setting
expectations on `MOCK_METHOD`s of the dedicated class.


Diffs
-----

  src/tests/api_tests.cpp 2220cecc22778a86f0c29317adf495927e1a900d 


Diff: https://reviews.apache.org/r/70756/diff/1/


Testing
-------


Thanks,

Andrei Sekretenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message