----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35264/#review87308 -----------------------------------------------------------
LGTM modulo commenting on the sequence. Also, could we model a JSON object and use contains() to check the result? src/tests/monitor_tests.cpp <https://reviews.apache.org/r/35264/#comment139649> 77 lines of straight line code; Can we easen up a bit and add structure with some comments explaining what's going on and why? src/tests/monitor_tests.cpp <https://reviews.apache.org/r/35264/#comment139650> Do you need a copy or do you want to const this? src/tests/monitor_tests.cpp <https://reviews.apache.org/r/35264/#comment139651> Could you use .contains() instead? We should have landed and deal with matching fractions of JSON objects. - Niklas Nielsen On June 9, 2015, 12:51 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35264/ > ----------------------------------------------------------- > > (Updated June 9, 2015, 12:51 p.m.) > > > Review request for mesos, Ben Mahler, Niklas Nielsen, and Vinod Kone. > > > Bugs: MESOS-2818 > https://issues.apache.org/jira/browse/MESOS-2818 > > > Repository: mesos > > > Description > ------- > > Added a slave integration test in MonitorTest. > > This test verifies the wiring between resource monitor and the slave. > > > Diffs > ----- > > src/tests/monitor_tests.cpp 6de8b1f65843fd7b852dfa69627a1c435b482fe0 > > Diff: https://reviews.apache.org/r/35264/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jie Yu > >
