You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Guangya Liu <gy...@gmail.com> on 2016/02/10 06:09:18 UTC

Re: Review Request 42342: Added a new test cases for revive offer.

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

(Updated 二月 10, 2016, 5:09 a.m.)


Review request for mesos, Ben Mahler and Vinod Kone.


Changes
-------

Rebase. @Viond, can you please help review this again? Thanks.


Bugs: MESOS-4387
    https://issues.apache.org/jira/browse/MESOS-4387


Repository: mesos


Description
-------

Added a new test cases for revive offer.


Diffs (updated)
-----

  src/tests/hierarchical_allocator_tests.cpp 990f3723d52dfeaa19d5eb0603c0fc7eb2b362c7 

Diff: https://reviews.apache.org/r/42342/diff/


Testing
-------

make
make check
GLOG_v=2 ./bin/mesos-tests.sh  --gtest_filter="HierarchicalAllocatorTest.ReviveOffers" --verbose


Thanks,

Guangya Liu


Re: Review Request 42342: Added a new test cases for revive offer.

Posted by haosdent huang <ha...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42342/#review118646
-----------------------------------------------------------


Ship it!




Ship It!

- haosdent huang


On Feb. 10, 2016, 5:09 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42342/
> -----------------------------------------------------------
> 
> (Updated Feb. 10, 2016, 5:09 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Bugs: MESOS-4387
>     https://issues.apache.org/jira/browse/MESOS-4387
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added a new test cases for revive offer.
> 
> 
> Diffs
> -----
> 
>   src/tests/hierarchical_allocator_tests.cpp 990f3723d52dfeaa19d5eb0603c0fc7eb2b362c7 
> 
> Diff: https://reviews.apache.org/r/42342/diff/
> 
> 
> Testing
> -------
> 
> make
> make check
> GLOG_v=2 ./bin/mesos-tests.sh  --gtest_filter="HierarchicalAllocatorTest.ReviveOffers" --verbose
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Re: Review Request 42342: Added a new test cases for revive offer.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42342/#review118626
-----------------------------------------------------------



Patch looks great!

Reviews applied: [39628, 42342]

Passed command: export OS='ubuntu:14.04' CONFIGURATION='--verbose' COMPILER='gcc' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On Feb. 10, 2016, 5:09 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42342/
> -----------------------------------------------------------
> 
> (Updated Feb. 10, 2016, 5:09 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Bugs: MESOS-4387
>     https://issues.apache.org/jira/browse/MESOS-4387
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added a new test cases for revive offer.
> 
> 
> Diffs
> -----
> 
>   src/tests/hierarchical_allocator_tests.cpp 990f3723d52dfeaa19d5eb0603c0fc7eb2b362c7 
> 
> Diff: https://reviews.apache.org/r/42342/diff/
> 
> 
> Testing
> -------
> 
> make
> make check
> GLOG_v=2 ./bin/mesos-tests.sh  --gtest_filter="HierarchicalAllocatorTest.ReviveOffers" --verbose
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Re: Review Request 42342: Added a new test cases for revive offer.

Posted by Guangya Liu <gy...@gmail.com>.

> On 二月 10, 2016, 11:32 a.m., haosdent huang wrote:
> > src/tests/hierarchical_allocator_tests.cpp, line 2409
> > <https://reviews.apache.org/r/42342/diff/3/?file=1239306#file1239306line2409>
> >
> >     should we settle before `advance`

I think it should be OK as long as the `settle` is before `allocations.get()`, because I need to make sure the `recoverResources` is finished before get `allocations`.


- Guangya


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


On 二月 10, 2016, 5:09 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42342/
> -----------------------------------------------------------
> 
> (Updated 二月 10, 2016, 5:09 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Bugs: MESOS-4387
>     https://issues.apache.org/jira/browse/MESOS-4387
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added a new test cases for revive offer.
> 
> 
> Diffs
> -----
> 
>   src/tests/hierarchical_allocator_tests.cpp 990f3723d52dfeaa19d5eb0603c0fc7eb2b362c7 
> 
> Diff: https://reviews.apache.org/r/42342/diff/
> 
> 
> Testing
> -------
> 
> make
> make check
> GLOG_v=2 ./bin/mesos-tests.sh  --gtest_filter="HierarchicalAllocatorTest.ReviveOffers" --verbose
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Re: Review Request 42342: Added a new test cases for revive offer.

Posted by haosdent huang <ha...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42342/#review118627
-----------------------------------------------------------




src/tests/hierarchical_allocator_tests.cpp (line 2409)
<https://reviews.apache.org/r/42342/#comment179918>

    should we settle before `advance`


- haosdent huang


On Feb. 10, 2016, 5:09 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42342/
> -----------------------------------------------------------
> 
> (Updated Feb. 10, 2016, 5:09 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Bugs: MESOS-4387
>     https://issues.apache.org/jira/browse/MESOS-4387
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added a new test cases for revive offer.
> 
> 
> Diffs
> -----
> 
>   src/tests/hierarchical_allocator_tests.cpp 990f3723d52dfeaa19d5eb0603c0fc7eb2b362c7 
> 
> Diff: https://reviews.apache.org/r/42342/diff/
> 
> 
> Testing
> -------
> 
> make
> make check
> GLOG_v=2 ./bin/mesos-tests.sh  --gtest_filter="HierarchicalAllocatorTest.ReviveOffers" --verbose
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>