> On March 24, 2015, 6:07 a.m., Michael Park wrote:
> > src/tests/module.cpp, line 135
> > <https://reviews.apache.org/r/31267/diff/4/?file=903021#file903021line135>
> >
> >     Can we take `Modules*` here instead to keep consistency with 
> > `addAnonymousModules`, etc? or perhaps a patch before this one to make all 
> > of them `Modules&`?

Good catch! This is a recent change, functions signatures used to have 
references when I started the patch : )


> On March 24, 2015, 6:07 a.m., Michael Park wrote:
> > src/tests/module.cpp, line 141
> > <https://reviews.apache.org/r/31267/diff/4/?file=903021#file903021line141>
> >
> >     Looking at the `Isolator` example which has `Cpu` and `Mem` isolators, 
> > it seems to me like we want `s/testdrfalloactor/testallocator/` here.
> 
> Alexander Rojas wrote:
>     No very sure about this issue, as I see it, we can have multiple 
> isolators, but you cannot have more than one allocator (though I may be 
> wrong). In that sense, it makes sense to have a test for each of them. Just 
> wondering how that will work if there are more than one allocator module that 
> needs to be tested.
> 
> Michael Park wrote:
>     Ah, good point! I'm not sure about it either. Alex, please feel free to 
> drop the issue.

> wondering how that will work if there are more than one allocator module that 
> needs to be tested.

Typed tests!

Yes, I preferred clarity to consistency here.


- Alexander


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31267/#review77531
-----------------------------------------------------------


On March 27, 2015, 3:08 p.m., Alexander Rukletsov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31267/
> -----------------------------------------------------------
> 
> (Updated March 27, 2015, 3:08 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 test allocator module is a built-in HierarchicalDRFAllocator put in a 
> module.
> 
> NOTE: Here we add harness code to load the module, tests will be wired up 
> later in the patch stack.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 7a06c7028eca8164b1f5fdea6a7ecd37ee6826bb 
>   src/examples/test_allocator_module.cpp PRE-CREATION 
>   src/tests/module.hpp 65e567f21744d9a2b07b8680d45bcd1ea47f9508 
>   src/tests/module.cpp b81144f56e94034feecf3a6a4992af078cf60a81 
> 
> Diff: https://reviews.apache.org/r/31267/diff/
> 
> 
> Testing
> -------
> 
> make check (Mac OS 10.9.5, CentOS 7.0)
> 
> 
> Thanks,
> 
> Alexander Rukletsov
> 
>

Reply via email to