You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gastón Kleiman (JIRA)" <ji...@apache.org> on 2017/10/02 21:54:03 UTC
[jira] [Commented] (MESOS-7916) Improve the test coverage of the
DefaultExecutor.
[ https://issues.apache.org/jira/browse/MESOS-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16188915#comment-16188915 ]
Gastón Kleiman commented on MESOS-7916:
---------------------------------------
{code}
commit 6eefc685ccf304d0fb8ed4ff9bc314197d77f078
Author: Gaston Kleiman <ga...@mesosphere.io>
Date: Fri Sep 29 12:14:44 2017 -0700
Added a test using Docker, a file URI, and the DefaultExecutor.
This test verifies that URIs set on Docker tasks are fetched and made
available to them when started by the DefaultExecutor.
Review: https://reviews.apache.org/r/62632/
{code}
{code}
commit f429f4070935ad006f57e460e1db53ae65801809
Author: Gaston Kleiman <ga...@mesosphere.io>
Date: Fri Sep 29 12:14:39 2017 -0700
Added a test using a file URI and the DefaultExecutor.
This test verifies that URIs set on tasks are fetched and made available
to them when started by the DefaultExecutor.
Review: https://reviews.apache.org/r/62168/
{code}
> Improve the test coverage of the DefaultExecutor.
> -------------------------------------------------
>
> Key: MESOS-7916
> URL: https://issues.apache.org/jira/browse/MESOS-7916
> Project: Mesos
> Issue Type: Improvement
> Components: executor
> Reporter: Gastón Kleiman
> Assignee: Gastón Kleiman
> Labels: mesosphere
>
> We should write tests for the {{DefaultExecutor}} to cover the following common scenarios:
> # -Start a task that uses a GPU, and make sure that it is made available to the task.-
> # -Launch a Docker task with a health check.-
> # -Launch two tasks and verify that they can access a volume owned by the Executor via {{sandbox_path}} volumes.-
> # -Launch two tasks, each one in its own task group, and verify that they can access a volume owned by the Executor via {{sandbox_path}} volumes.-
> # -Launch a task that uses an env secret, make sure that it is accessible.-
> # -Launch a task using a URI and make sure that the artifact is accessible.-
> # -Launch a task using a Docker image + URIs, make sure that the fetched artifact is accessible.-
> # Launch one task and ensure that (health) checks can read from a persistent volume.
> # -Ensure that the executor's env is NOT inherited by the nested tasks.-
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)