> On Dec. 2, 2017, 1:27 a.m., Qian Zhang wrote: > > src/tests/containerizer/provisioner_docker_tests.cpp > > Lines 561 (patched) > > <https://reviews.apache.org/r/64271/diff/1/?file=1906562#file1906562line561> > > > > Why calling `paths::listLayer()` again here? Can we directly check > > `layers` returned from the above `while` loop?
No, cannot define a `Try` global variable outwide of the `while` loop. - Gilbert ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64271/#review192625 ----------------------------------------------------------- On Dec. 1, 2017, 5:10 p.m., Gilbert Song wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/64271/ > ----------------------------------------------------------- > > (Updated Dec. 1, 2017, 5:10 p.m.) > > > Review request for mesos, Jie Yu, Qian Zhang, Vinod Kone, and Zhitao Li. > > > Bugs: MESOS-8294 > https://issues.apache.org/jira/browse/MESOS-8294 > > > Repository: mesos > > > Description > ------- > > Added an unit test for docker image auto gc. > > > Diffs > ----- > > src/tests/containerizer/provisioner_docker_tests.cpp > 832c81fe88d753b0f00dfab870d7725cf556fcef > > > Diff: https://reviews.apache.org/r/64271/diff/1/ > > > Testing > ------- > > make check > > > Thanks, > > Gilbert Song > >
