----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36185/ -----------------------------------------------------------
(Updated July 8, 2015, 5:04 p.m.) Review request for mesos and Timothy Chen. Changes ------- Add unit test Bugs: MESOS-2588 https://issues.apache.org/jira/browse/MESOS-2588 Repository: mesos Description ------- Create pre-launch hook before a docker container launches in slave. Diffs (updated) ----- 3rdparty/libprocess/src/libevent_ssl_socket.cpp cecd7af2016556ed90feac2ba8d886a1ea960a06 3rdparty/libprocess/src/tests/ssl_tests.cpp 97a3f2a576b6fbb2c4c38c24d39c76622ae91217 CHANGELOG e4686cbc7349a07f98e8e4d59dd51b75a50d0421 include/mesos/hook.hpp 0995c249e9f07c6c4a26d1c5c369d48bb8056f1f src/Makefile.am e5b5d36f0ac160e5a3a9fdc50b31c060a413ce2c src/examples/test_hook_module.cpp d61cd557d8e44e5089f324edf97b0335a4ededab src/hook/manager.hpp 47e8eb7d54d55049d054cf9b1225e67333f22adc src/hook/manager.cpp 0108534c1fc527a0c66d201d7a5232e80b9928bf src/linux/fs.hpp f3aa0c2a385527eab5895f5d10c29e3d68e30a49 src/linux/fs.cpp ea0891e320154b85a21ed2d138c192821efae9cd src/slave/containerizer/containerizer.hpp 52145540ff250890885a2d3f247fedcb8498b58b src/slave/containerizer/containerizer.cpp 25c87e9f948b7efe8b9a853c403bee69982d6c4c src/slave/containerizer/docker.hpp 9a7a951a72390b38f5dda3a3d50c4b35a6c784fd src/slave/containerizer/docker.cpp cfb60177fe48ec0eeab12ff392c6c9f89634b92f src/slave/containerizer/isolators/network/port_mapping.cpp a7757f2a51f04da27645074f048722c22a2be752 src/slave/containerizer/mesos/launch.hpp 7a7f3d7503962fe079e40b3b059d44459eedf3a5 src/slave/containerizer/mesos/launch.cpp 96ca47dff69d7706b570a96244549164918d2c2f src/tests/docker_containerizer_tests.cpp a3da786c1b733e9dd4abf1d02d5dae051393d921 src/tests/environment.cpp 525347090f38b61f2085a2b2a6002d28d11b222f src/tests/launch_tests.cpp 73c8c5fa17936b1bab4817e9f1e691144e87c35f src/tests/port_mapping_tests.cpp f01c3e1308755bb07da16b8bed576cdb958f0e0e src/tests/slave_tests.cpp ea0ddf38444915a1cda71cce6a8897803fa49198 Diff: https://reviews.apache.org/r/36185/diff/ Testing (updated) ------- Add a new unit test "DockerContainerizerTest.ROOT_DOCKER_VerifySlavePreLaunchDockerHook" make check -j8 GTEST_FILTER=-"*" sudo ./bin/mesos-tests.sh --verbose --gtest_filter=DockerContainerizerTest.ROOT_DOCKER_VerifySlavePreLaunchDockerHook Thanks, haosdent huang