mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guangya Liu <gyliu...@gmail.com>
Subject Re: Review Request 51771: Updated master validation for DOCKER ContainerInfo in TaskGroup.
Date Tue, 13 Sep 2016 11:46:54 GMT

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


Fix it, then Ship it!




Ship It!


src/tests/master_validation_tests.cpp (line 1752)
<https://reviews.apache.org/r/51771/#comment216194>

    What about adding 
    
    ```
    Offer offer = offers.get()[0];
    ```
    
    Then user `offer` instead of `offers.get()[0]` just like what you did in `TaskGroupValidationTest.TaskUsesDockerContainerInfo`



src/tests/master_validation_tests.cpp (lines 1917 - 1918)
<https://reviews.apache.org/r/51771/#comment216193>

    new line here


- Guangya Liu


On 九月 13, 2016, 10:31 a.m., Abhishek Dasgupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51771/
> -----------------------------------------------------------
> 
> (Updated 九月 13, 2016, 10:31 a.m.)
> 
> 
> Review request for mesos and Vinod Kone.
> 
> 
> Bugs: MESOS-6144
>     https://issues.apache.org/jira/browse/MESOS-6144
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> DOCKER as ContainerInfo Type for both task group executor as well as
> taskgroup task is currently not supported. Only MESOS as
> ContainerInfo Type is supported. This patch is to validate that
> TaskGroup executor and tasks do not use DOCKER ContainerInfo.
> 
> 
> Diffs
> -----
> 
>   src/master/validation.cpp 137b9f912029d6b0287b49541d1af9bb1fdb80b3 
>   src/tests/master_validation_tests.cpp 3a5cfa2b8a500c1c9e8af5207ebb91279a61feed 
> 
> Diff: https://reviews.apache.org/r/51771/diff/
> 
> 
> Testing
> -------
> 
> On Ubuntu 16.04:
> sudo make -j`nproc` check
> 
> 
> Thanks,
> 
> Abhishek Dasgupta
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message