> On March 24, 2015, 6:15 p.m., Jie Yu wrote:
> > FYI, there's a regression in this patch and I committed a fix:
> > 
> > commit 46f80f270bc335172e919343f6f14e007216823f
> > Author: Jie Yu <[email protected]>
> > Date:   Tue Mar 24 11:06:08 2015 -0700
> > 
> >     Fixed a regression caused by the slave checkpoint flag removal.
> > 
> > diff --git a/src/tests/port_mapping_tests.cpp 
> > b/src/tests/port_mapping_tests.cpp
> > index 8192dea..623840e 100644
> > --- a/src/tests/port_mapping_tests.cpp
> > +++ b/src/tests/port_mapping_tests.cpp
> > @@ -1669,7 +1669,6 @@ public:
> >        ContainerizerTest<MesosContainerizer>::CreateSlaveFlags();
> >  
> >      // Setup recovery slave flags.
> > -    flags.checkpoint = true;
> >      flags.recover = "reconnect";
> >      flags.strict = true;
> 
> Adam B wrote:
>     Thanks for finding this Jie. I believe flags.recover and flags.strict are 
> the defaults, so we can simplify this function to just
>     `return ContainerizerTest<MesosContainerizer>::CreateSlaveFlags();`
>     Joerg, would you like to handle this cleanup?

Sure, see https://issues.apache.org/jira/browse/MESOS-2538.


- Joerg


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


On March 19, 2015, 3:52 p.m., Joerg Schad wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31539/
> -----------------------------------------------------------
> 
> (Updated March 19, 2015, 3:52 p.m.)
> 
> 
> Review request for mesos, Adam B, Cody Maloney, and Till Toenshoff.
> 
> 
> Bugs: MESOS-2375
>     https://issues.apache.org/jira/browse/MESOS-2375
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> As a number of tests rely on the checkpointing flag to be false, a few tests 
> had to be adapted.
> Removed the following test as the tested logic is specific to (old) 
> non-checkpointing slaves:
> SlaveRecoveryTest.NonCheckpointingSlave:
>    This test checks whether a non-checkpointing slave is not scheduled to a 
> checkpointing framework.   
>    It can be removed as all slaves are checkpointing slaves.
> 
> 
> Diffs
> -----
> 
>   include/mesos/mesos.proto ec8efaec13f54a56d82411f6cdbdb8ad8b103748 
>   src/slave/flags.hpp dbaf5f532d0bc65a6d16856b8ffcc2c06a98f1fa 
>   src/slave/slave.cpp f1f210045e6100560f0d26244f9675f4543a5620 
>   src/tests/disk_quota_tests.cpp 9c3a8815c3478535b72888c296a4aa5cda341ba3 
>   src/tests/docker_containerizer_tests.cpp 
> 06cd3d89ecbaaac17ae6970604b21fbe29f6e887 
>   src/tests/fault_tolerance_tests.cpp 
> 9ac75b1f601e14a3d3d117775f37a4a48b291dc6 
>   src/tests/gc_tests.cpp deaa6b1b6c32ae6d153229248d7d4f57caa0ebcf 
>   src/tests/master_allocator_tests.cpp 
> a432d0207e1a92532a495bf9ad2826414ee4f6f0 
>   src/tests/master_authorization_tests.cpp 
> ff706ed6f8537207b30a548b0ce2121c5df71ab9 
>   src/tests/master_tests.cpp e69348be676a80017062e3abbd15b8008a6009d7 
>   src/tests/master_validation_tests.cpp 
> c8742928a4e93e86ccd0f5a39856a65cfe8eb74f 
>   src/tests/mesos.cpp c8f43d21b214e75eaac2870cbdf4f03fd18707d1 
>   src/tests/partition_tests.cpp bb96aed37861867fbde68445016f0c6e039f3fb4 
>   src/tests/persistent_volume_tests.cpp 
> b617117ade4b487cc06002cfeca76a0486833b20 
>   src/tests/reconciliation_tests.cpp acd70021574b05ab23872add5bdfa4a46b7dfc51 
>   src/tests/slave_recovery_tests.cpp 53adae0118a26e6d25a9ff20c6374cc8e73275b1 
>   src/tests/status_update_manager_tests.cpp 
> 216a22e9f292b4141c8b966dad0f25dbd791c025 
> 
> Diff: https://reviews.apache.org/r/31539/diff/
> 
> 
> Testing
> -------
> 
> make check GTEST_BREAK_ON_FAILURE=1 GTEST_SHUFFLE=1 GTEST_REPEAT=50 on OSX 
> (had to exclude some known flaky tests under OSX)
> 
> 
> Thanks,
> 
> Joerg Schad
> 
>

Reply via email to