> On June 17, 2016, 6:20 a.m., haosdent huang wrote: > > src/tests/master_tests.cpp, line 2510 > > <https://reviews.apache.org/r/48450/diff/2/?file=1414177#file1414177line2510> > > > > Should we add > > ``` > > .WillRepeatedly(Return()); > > ``` > > here, may receive statusUpdate multiple times, right?
AFAIK, a successfully launched mock task only invokes statusUpdate once, hence we shouldn't really expect multiple calls in this case. - Jay ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48450/#review138168 ----------------------------------------------------------- On June 9, 2016, 11:13 p.m., Jay Guo wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48450/ > ----------------------------------------------------------- > > (Updated June 9, 2016, 11:13 p.m.) > > > Review request for mesos and Vinod Kone. > > > Repository: mesos > > > Description > ------- > > Add unit test for master /tasks endpoint. > > > Diffs > ----- > > src/tests/master_tests.cpp 0d64e353f0682017953b524a5f5246d76f52fa2e > > Diff: https://reviews.apache.org/r/48450/diff/ > > > Testing > ------- > > make check on Ubuntu 14.04 & OSX > > I didn't find unit test for this endpoint, therefore adding it. > > > Thanks, > > Jay Guo > >
