You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Avinash Sridharan (JIRA)" <ji...@apache.org> on 2016/10/11 16:56:20 UTC
[jira] [Updated] (MESOS-6348) Allow `network/cni` isolator
unit-tests to run with CNI plugins
[ https://issues.apache.org/jira/browse/MESOS-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Avinash Sridharan updated MESOS-6348:
-------------------------------------
Target Version/s: (was: 1.1.0)
> Allow `network/cni` isolator unit-tests to run with CNI plugins
> ----------------------------------------------------------------
>
> Key: MESOS-6348
> URL: https://issues.apache.org/jira/browse/MESOS-6348
> Project: Mesos
> Issue Type: Task
> Reporter: Avinash Sridharan
> Assignee: Avinash Sridharan
> Labels: mesosphere
>
> Currently, we don't have any infrastructure to allow for CNI plugins to be used in `network/cni` isolator unit-tests. This forces us to mock CNI plugins that don't use new network namespaces leading to very restricting form of unit-tests.
> Especially for port-mapper plugin, in order to test its DNAT functionality it will be very useful if we run the containers in separate network namespace requiring an actual CNI plugin.
> The proposal is there to introduce a test filter called CNIPLUGIN, that gets set when CNI_PATH env var is set. Tests using the CNIPLUGIN filter can then use actual CNI plugins in their tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)