mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Mahler" <benjamin.mah...@gmail.com>
Subject Review Request 31511: Added virtual to RateLimiter methods to enable mocking.
Date Fri, 27 Feb 2015 02:58:36 GMT

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

Review request for mesos and Vinod Kone.


Repository: mesos


Description
-------

To test the slave removal rate limiting, we needed to ensure that no slave removals occur
before the rate limiting ticket is ready. This requires controlling when the Future from `aquire`
is satisfied, so a MockRateLimiter is needed.


Diffs
-----

  3rdparty/libprocess/include/process/limiter.hpp 4bf24a86fb9ba608ef3b64f4aee58915c0f425a4


Diff: https://reviews.apache.org/r/31511/diff/


Testing
-------

make check


Thanks,

Ben Mahler


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