[
https://issues.apache.org/jira/browse/MESOS-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16151072#comment-16151072
]
Gastón Kleiman commented on MESOS-7916:
---------------------------------------
{code}
commit 53a79b229c7b0d493831855dec5afb21c1c78407
Author: Gastón Kleiman <[email protected]>
Date: Fri Aug 25 11:40:31 2017 -0700
Added a test using CMD health checks + DefaultExecutor w/ Docker image.
Review: https://reviews.apache.org/r/61483/
{code}
{code}
commit dd06684dbcefe98a6ba2b46b8bdf4eda718cee44
Author: Gastón Kleiman <[email protected]>
Date: Fri Aug 25 11:40:21 2017 -0700
Added a test verifying that DefaultExecutor tasks can use nvidia GPUs.
Review: https://reviews.apache.org/r/61282/
{code}
{code}
commit 1e304a0b73f2ab43e9b59a2648446d1e8d7defa0
Author: Gastón Kleiman <[email protected]>
Date: Fri Aug 25 11:40:27 2017 -0700
Improved `NvidiaGpuTest.ROOT_CGROUPS_NVIDIA_GPU_VerifyDeviceAccess`.
Change the test so that the agent offesr as many GPUs as available on
the box instead of restricting it to 1. This way the test will fail if
there's a bug that makes the isolator give a task access to more GPUs
than what it was allocated.
Review: https://reviews.apache.org/r/61438/
{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 one task and ensure that (health) checks can read from a persistent
> volume.
> # 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.
> # Write a test that ensures that the executor's env is NOT inherited by the
> nested tasks.
> # Launch a task that uses an env secret, make sure that it is accessible.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)