----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55335/#review189345 -----------------------------------------------------------
src/tests/containerizer/mesos_containerizer_tests.cpp Lines 103-119 (patched) <https://reviews.apache.org/r/55335/#comment266364> neither introduce a helper here nor a new helper in test/mesos.hpp, let's call createTask() and pass in an empty resource. - Gilbert Song On Sept. 26, 2017, 1:14 p.m., Zhitao Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55335/ > ----------------------------------------------------------- > > (Updated Sept. 26, 2017, 1:14 p.m.) > > > Review request for mesos, Gilbert Song, Jason Lai, and Jie Yu. > > > Bugs: MESOS-6894 > https://issues.apache.org/jira/browse/MESOS-6894 > > > Repository: mesos > > > Description > ------- > > These tests were using a `TaskInfo` field which is missing required > protobuf fields. After the previous patch begins to checkpoint > `ContainerConfig`, the incomplete `TaskInfo` cannot be checkpointed, > thus caused these tests to fail. > > This patch backfills these fields to make these tests pass. > > > Diffs > ----- > > src/tests/containerizer/mesos_containerizer_tests.cpp > e61a85df6ec5308ccd2832e66df803b0ad7b53ee > > > Diff: https://reviews.apache.org/r/55335/diff/6/ > > > Testing > ------- > > GTEST_FILTER="MesosContainerizer*" make check > > > Thanks, > > Zhitao Li > >
