> On March 24, 2015, 2:41 p.m., Michael Park wrote: > > src/tests/master_allocator_tests.cpp, line 97 > > <https://reviews.apache.org/r/31265/diff/4/?file=903029#file903029line97> > > > > 1. Do we need this to be `virtual` right now? > > 2. `s/createAllocatorInstance/CreateAllocator/` > > 3. Can we move this either above `SetUp` or below `TearDown`? seems > > weird to have it sitting in the middle.
1. I though it make sense to mark it virtual, but I'll remove it if you think it's cleaner. 2. We use `camelCase` 3. Sure. - Alexander ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31265/#review77570 ----------------------------------------------------------- On March 23, 2015, 2:11 p.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31265/ > ----------------------------------------------------------- > > (Updated March 23, 2015, 2:11 p.m.) > > > Review request for mesos, Kapil Arya, Michael Park, and Niklas Nielsen. > > > Bugs: MESOS-2160 > https://issues.apache.org/jira/browse/MESOS-2160 > > > Repository: mesos > > > Description > ------- > > The factory creates allocator instances in a way identical to how instances > from modules are created. It allows us to use same typed tests for built-in > and modularized allocators. > > > Diffs > ----- > > src/master/allocator/mesos/allocator.hpp > fb898f1175b61b442204e6e38c69ccc2838a646f > src/tests/master_allocator_tests.cpp > a432d0207e1a92532a495bf9ad2826414ee4f6f0 > > Diff: https://reviews.apache.org/r/31265/diff/ > > > Testing > ------- > > make check (Mac OS 10.9.5, Ubuntu 14.04) > > > Thanks, > > Alexander Rukletsov > >
