> On Dec. 16, 2014, 9:55 p.m., Jie Yu wrote: > > src/tests/sorter_tests.cpp, lines 182-183 > > <https://reviews.apache.org/r/29089/diff/1/?file=792870#file792870line182> > > > > Consider using ```createDiskInfo``` in src/test/mesos.hpp?
Good idea, although given mesos.hpp is largely a header leveraged by the integration tests, could we move it to src/test/utils.hpp? - Ben ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29089/#review65246 ----------------------------------------------------------- On Dec. 16, 2014, 6:28 a.m., Ben Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29089/ > ----------------------------------------------------------- > > (Updated Dec. 16, 2014, 6:28 a.m.) > > > Review request for mesos and Jie Yu. > > > Bugs: MESOS-2099 > https://issues.apache.org/jira/browse/MESOS-2099 > > > Repository: mesos-git > > > Description > ------- > > We broke the share calculation as soon as we allowed resources to be > non-flattened. > > > Diffs > ----- > > src/master/drf_sorter.cpp 0ad6c52759e1ceec4b43f99d8fa1e75d7e2e1c31 > src/tests/sorter_tests.cpp 0516ab573d9f4f2af249978e15ebf52c2afb5359 > > Diff: https://reviews.apache.org/r/29089/diff/ > > > Testing > ------- > > Added a test. > > > Thanks, > > Ben Mahler > >
