> On Jan. 7, 2017, 12:28 a.m., Kapil Arya wrote:
> > LGTM. Have you run any tests where the existing `CHECK_SOME` would fail and 
> > the new code will behave properly? It might be worth running it at least 
> > for one test. Maybe, in one of the containerizer value, just set it to 
> > `Error()` to validate the idea.
> 
> Benjamin Bannier wrote:
>     I tested this in internal CI on an incompletly configured machine; after 
> this fix I was able to see failures in e.g., from `PortMappingIsolatorTest` 
> where previously the code would have just aborted. As a test I also redefined 
> to be just `return Error("")` which did not lead to aborts of the test run 
> via `HTTPCommandExecutorTest.TerminateWithACK` or 
> `ContainerLoggerTest.DefaultToSandbox` anymore.

Duh, 

> I tested this in internal CI on an incompletly configured machine; after this 
> fix I was able to see failures from e.g., PortMappingIsolatorTest where 
> previously the code would have just aborted. As a test I also redefined 
> `MesosContainerizer::create` to be just return Error("") which did not lead 
> to aborts of the test run via HTTPCommandExecutorTest.TerminateWithACK or 
> ContainerLoggerTest.DefaultToSandbox anymore.

FTFY, sorry.


- Benjamin


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


On Jan. 10, 2017, 2:19 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55269/
> -----------------------------------------------------------
> 
> (Updated Jan. 10, 2017, 2:19 p.m.)
> 
> 
> Review request for mesos and Kapil Arya.
> 
> 
> Bugs: MESOS-6860
>     https://issues.apache.org/jira/browse/MESOS-6860
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Avoided use of CHECK macros.
> 
> 
> Diffs
> -----
> 
>   src/tests/command_executor_tests.cpp 
> f4e7044b82e8e81d6430551dc0b2a288db10bc3c 
>   src/tests/container_logger_tests.cpp 
> 7ac83338b5944967d0cbe768bf622c654fee99e1 
>   src/tests/containerizer/cgroups_tests.cpp 
> 0afaec6ae948cabf1472bf01103210d8f9809cb1 
>   src/tests/containerizer/port_mapping_tests.cpp 
> 207742f165e2c91a917ec293689c9030931f29db 
>   src/tests/cram_md5_authentication_tests.cpp 
> 1f414282b8d2aba7403f8617a30fa15c4a694d02 
>   src/tests/credentials_tests.cpp ed50609cc5ed1937d2bcd782451245e0b5889ed5 
>   src/tests/disk_quota_tests.cpp 90c42b301d749e7a9c6d6d42a51e929ec66d761c 
>   src/tests/fetcher_cache_tests.cpp 03e817d46194d451eceb70f4cebb54dfdcb4c2e7 
>   src/tests/master_quota_tests.cpp 48be7406181646c8cc1d169b82a4a4ca71cdf03b 
>   src/tests/partition_tests.cpp 72013d1bfee275c6f3cb90173f0c408d55e0bc5d 
>   src/tests/paths_tests.cpp a8aa5c26db7bd21f54eabaddf13a86582abaa2c3 
>   src/tests/persistent_volume_endpoints_tests.cpp 
> 1d40380dedbd6f0e1402b9a37d8a231cf73881f7 
>   src/tests/persistent_volume_tests.cpp 
> 8198b6b5ad323d17835ba067c7ff3d34ef948125 
>   src/tests/reservation_endpoints_tests.cpp 
> d94fe29e5972e6ed0011ca00cc56fe1c20cda495 
>   src/tests/slave_tests.cpp 152c53ff102a081ce5c3b74984720fda8b791811 
> 
> Diff: https://reviews.apache.org/r/55269/diff/
> 
> 
> Testing
> -------
> 
> Tested on various Linux configurations in internal CI.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>

Reply via email to