> On Nov. 6, 2015, 12:39 a.m., Joseph Wu wrote: > > src/tests/master_quota_tests.cpp, lines 110-112 > > <https://reviews.apache.org/r/38956/diff/8/?file=1114104#file1114104line110> > > > > The resource string you have is equivalent to the resource string from > > `CreateSlaveFlags`. Is there some reason you're re-setting it?
One of the comments I got earlier from Bernd is that it is hard to track what resources are available, hence I decided to re-introduce the resources explicitly. > On Nov. 6, 2015, 12:39 a.m., Joseph Wu wrote: > > src/tests/master_quota_tests.cpp, line 201 > > <https://reviews.apache.org/r/38956/diff/8/?file=1114104#file1114104line201> > > > > Can you change this comment to more closely match your test? > > > > I find `12 > 11` to be a better sanity check than `100 > 11`. This comment does not refer to a specific test, it rather illustrates what a sanity check may be. - Alexander ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38956/#review105339 ----------------------------------------------------------- On Nov. 5, 2015, 7:27 p.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/38956/ > ----------------------------------------------------------- > > (Updated Nov. 5, 2015, 7:27 p.m.) > > > Review request for mesos, Bernd Mathiske, Joerg Schad, Joris Van Remoortere, > Joseph Wu, and Michael Park. > > > Bugs: MESOS-3720 > https://issues.apache.org/jira/browse/MESOS-3720 > > > Repository: mesos > > > Description > ------- > > See summary. > > > Diffs > ----- > > src/Makefile.am 98cbafc134ec388a176d50172912fbfdf9f5bfa3 > src/master/quota_handler.cpp PRE-CREATION > src/tests/master_quota_tests.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/38956/diff/ > > > Testing > ------- > > make check (Mac OS X 10.10.4) > > > Thanks, > > Alexander Rukletsov > >
