Fix running docker executor tests. Review: https://reviews.apache.org/r/36214
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/eecf0d4a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/eecf0d4a Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/eecf0d4a Branch: refs/heads/master Commit: eecf0d4a2a31506878c98c9dd562175816efdcbf Parents: eb69869 Author: Timothy Chen <[email protected]> Authored: Tue Jul 7 11:50:21 2015 -0700 Committer: Timothy Chen <[email protected]> Committed: Tue Jul 7 12:26:12 2015 -0700 ---------------------------------------------------------------------- src/tests/docker_containerizer_tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/eecf0d4a/src/tests/docker_containerizer_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/docker_containerizer_tests.cpp b/src/tests/docker_containerizer_tests.cpp index d4ccb0b..0a87333 100644 --- a/src/tests/docker_containerizer_tests.cpp +++ b/src/tests/docker_containerizer_tests.cpp @@ -467,7 +467,7 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_Launch_Executor) executorInfo.mutable_executor_id()->CopyFrom(executorId); CommandInfo command; - command.set_value("test-executor"); + command.set_value("/bin/test-executor"); executorInfo.mutable_command()->CopyFrom(command); ContainerInfo containerInfo; @@ -580,7 +580,7 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_Launch_Executor_Bridged) executorInfo.mutable_executor_id()->CopyFrom(executorId); CommandInfo command; - command.set_value("test-executor"); + command.set_value("/bin/test-executor"); executorInfo.mutable_command()->CopyFrom(command); ContainerInfo containerInfo; @@ -2958,7 +2958,7 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_DockerInspectDiscard) executorInfo.mutable_executor_id()->CopyFrom(executorId); CommandInfo command; - command.set_value("test-executor"); + command.set_value("/bin/test-executor"); executorInfo.mutable_command()->CopyFrom(command); ContainerInfo containerInfo;
