> On June 9, 2017, 6:48 p.m., Benjamin Mahler wrote: > > src/tests/upgrade_tests.cpp > > Lines 562-576 (patched) > > <https://reviews.apache.org/r/59860/diff/1/?file=1743640#file1743640line562> > > > > This needs to come before you start the slave, no?
Doesn't seem like it's possible? The `slave` variable is the result of `StartSlave`. I copied this pattern from the `UpgradeSlaveIntoMultiRole` test. > On June 9, 2017, 6:48 p.m., Benjamin Mahler wrote: > > src/tests/upgrade_tests.cpp > > Lines 703-717 (patched) > > <https://reviews.apache.org/r/59860/diff/1/?file=1743640#file1743640line703> > > > > It would be nice to put these above the starting of the slave, see my > > previous comment about being able to avoid the need to advance the clock. Doesn't seem like it's possible? The `slave` variable is the result of `StartSlave`. I copied this pattern from the `UpgradeSlaveIntoMultiRole` test. - Michael ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59860/#review177534 ----------------------------------------------------------- On June 13, 2017, 1:22 a.m., Michael Park wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59860/ > ----------------------------------------------------------- > > (Updated June 13, 2017, 1:22 a.m.) > > > Review request for mesos, Benjamin Mahler and Neil Conway. > > > Bugs: MESOS-7633 > https://issues.apache.org/jira/browse/MESOS-7633 > > > Repository: mesos > > > Description > ------- > > Prevent allocating non-capable agents' resources to hierarchical roles. > > > Diffs > ----- > > src/master/allocator/mesos/hierarchical.cpp > 73d0b42433a1ff3e853e851b8191864b4e233666 > src/tests/upgrade_tests.cpp b07426fa1e402c88a8a647eafdb77f6ebadd9959 > > > Diff: https://reviews.apache.org/r/59860/diff/2/ > > > Testing > ------- > > New tests + `make check`. > > > Thanks, > > Michael Park > >