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

Review request for mesos, Alexander Rukletsov and Benjamin Mahler.


Bugs: MESOS-7388
    https://issues.apache.org/jira/browse/MESOS-7388


Repository: mesos


Description
-------

The tests in the case often require an agent ID. To obtain the ID they
were using a mock allocator to grab agent ID, but not other operations
with the allocator were performed.

Instead we now just capture the SlaveRegisteredMessage in order to
learn an agent's ID.


Diffs
-----

  src/tests/reservation_endpoints_tests.cpp 
cc8499a5ec05cf7b2283c075e47298918f50bd24 


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


Testing
-------

`make check`, also in repetition.

While this patch is part of this series since later patches depend on it, it 
could be commited independently.


Thanks,

Benjamin Bannier

Reply via email to