You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Michael Park <mc...@gmail.com> on 2015/07/13 21:29:55 UTC
Review Request 36453: Ignored subsequent calls to 'resourceOffers' in
'ReservationTest.CompatibleCheckpointedResources' test.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36453/
-----------------------------------------------------------
Review request for mesos, Ben Mahler and Jie Yu.
Bugs: MESOS-3034
https://issues.apache.org/jira/browse/MESOS-3034
Repository: mesos
Description
-------
Ignored subsequent calls to 'resourceOffers' in 'ReservationTest.CompatibleCheckpointedResources' test.
Diffs
-----
src/tests/reservation_tests.cpp 99bf393ed4e806dee13518cfbd2d44d740285c2c
Diff: https://reviews.apache.org/r/36453/diff/
Testing
-------
I was able to reproduce more reliably after changing `master.allocation_interval` to `Milliseconds(1)` and running `GTEST_FILTER="ReservationTest.CompatibleCheckpointedResources" ./bin/mesos-tests.sh --gtest_repeat=1000`.
Ran the above command with the fix and observed that it passes.
Thanks,
Michael Park
Re: Review Request 36453: Ignored subsequent calls to
'resourceOffers' in
'ReservationTest.CompatibleCheckpointedResources' test.
Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36453/#review91523
-----------------------------------------------------------
Patch looks great!
Reviews applied: [36453]
All tests passed.
- Mesos ReviewBot
On July 13, 2015, 8:18 p.m., Michael Park wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36453/
> -----------------------------------------------------------
>
> (Updated July 13, 2015, 8:18 p.m.)
>
>
> Review request for mesos, Ben Mahler and Jie Yu.
>
>
> Bugs: MESOS-3034
> https://issues.apache.org/jira/browse/MESOS-3034
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Ignored subsequent calls to 'resourceOffers' in 'ReservationTest.CompatibleCheckpointedResources' test.
>
>
> Diffs
> -----
>
> src/tests/reservation_tests.cpp 99bf393ed4e806dee13518cfbd2d44d740285c2c
>
> Diff: https://reviews.apache.org/r/36453/diff/
>
>
> Testing
> -------
>
> I was able to reproduce more reliably after changing `master.allocation_interval` to `Milliseconds(1)` and running `GTEST_FILTER="ReservationTest.CompatibleCheckpointedResources" ./bin/mesos-tests.sh --gtest_repeat=1000`.
>
> Ran the above command with the fix and observed that it passes.
>
>
> Thanks,
>
> Michael Park
>
>
Re: Review Request 36453: Ignored subsequent calls to
'resourceOffers' in
'ReservationTest.CompatibleCheckpointedResources' test.
Posted by Michael Park <mc...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36453/
-----------------------------------------------------------
(Updated July 13, 2015, 8:18 p.m.)
Review request for mesos, Ben Mahler and Jie Yu.
Changes
-------
Addressed Jie's comment.
Bugs: MESOS-3034
https://issues.apache.org/jira/browse/MESOS-3034
Repository: mesos
Description
-------
Ignored subsequent calls to 'resourceOffers' in 'ReservationTest.CompatibleCheckpointedResources' test.
Diffs (updated)
-----
src/tests/reservation_tests.cpp 99bf393ed4e806dee13518cfbd2d44d740285c2c
Diff: https://reviews.apache.org/r/36453/diff/
Testing
-------
I was able to reproduce more reliably after changing `master.allocation_interval` to `Milliseconds(1)` and running `GTEST_FILTER="ReservationTest.CompatibleCheckpointedResources" ./bin/mesos-tests.sh --gtest_repeat=1000`.
Ran the above command with the fix and observed that it passes.
Thanks,
Michael Park
Re: Review Request 36453: Ignored subsequent calls to
'resourceOffers' in
'ReservationTest.CompatibleCheckpointedResources' test.
Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36453/#review91511
-----------------------------------------------------------
Ship it!
src/tests/reservation_tests.cpp (line 928)
<https://reviews.apache.org/r/36453/#comment144937>
Please add a comment since it's not quite obvious.
.WillRepeatedly(Return()); // Ignore subsequent offers.
- Jie Yu
On July 13, 2015, 7:29 p.m., Michael Park wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36453/
> -----------------------------------------------------------
>
> (Updated July 13, 2015, 7:29 p.m.)
>
>
> Review request for mesos, Ben Mahler and Jie Yu.
>
>
> Bugs: MESOS-3034
> https://issues.apache.org/jira/browse/MESOS-3034
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Ignored subsequent calls to 'resourceOffers' in 'ReservationTest.CompatibleCheckpointedResources' test.
>
>
> Diffs
> -----
>
> src/tests/reservation_tests.cpp 99bf393ed4e806dee13518cfbd2d44d740285c2c
>
> Diff: https://reviews.apache.org/r/36453/diff/
>
>
> Testing
> -------
>
> I was able to reproduce more reliably after changing `master.allocation_interval` to `Milliseconds(1)` and running `GTEST_FILTER="ReservationTest.CompatibleCheckpointedResources" ./bin/mesos-tests.sh --gtest_repeat=1000`.
>
> Ran the above command with the fix and observed that it passes.
>
>
> Thanks,
>
> Michael Park
>
>