----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44854/#review124290 -----------------------------------------------------------
Ship it! The change looks good but please add a test for this. Ideally there could be a stateless validateExecutorInfo, in addition to the one that needs the master state. In the absence of this, you can write a test that spins up a framework and launches a task with a negative shutdown duration. - Ben Mahler On March 17, 2016, 11:34 p.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/44854/ > ----------------------------------------------------------- > > (Updated March 17, 2016, 11:34 p.m.) > > > Review request for mesos and Ben Mahler. > > > Bugs: MESOS-4949 > https://issues.apache.org/jira/browse/MESOS-4949 > > > Repository: mesos > > > Description > ------- > > See summary. > > > Diffs > ----- > > src/master/validation.cpp 820a9faee6fde09a98317854b181fe897167e2ca > > Diff: https://reviews.apache.org/r/44854/diff/ > > > Testing > ------- > > The complete chain was tested. See https://reviews.apache.org/r/44662/. > > > Thanks, > > Alexander Rukletsov > >