You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2019/01/12 00:35:26 UTC
[mesos] 02/09: Switched to use ContainerizerTest for CNI tests.
This is an automated email from the ASF dual-hosted git repository.
jieyu pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 221923bd4d5acf7fbcf4d387f278a6e0c57d3e7f
Author: Jie Yu <yu...@gmail.com>
AuthorDate: Thu Jan 10 14:02:22 2019 -0800
Switched to use ContainerizerTest for CNI tests.
This makes sure that cgroups for each test is independent.
Review: https://reviews.apache.org/r/69710
(cherry picked from commit de9831f60329529acbe706849b248dd5c818879c)
---
src/tests/containerizer/cni_isolator_tests.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/containerizer/cni_isolator_tests.cpp b/src/tests/containerizer/cni_isolator_tests.cpp
index 0305a7b..34d4a47 100644
--- a/src/tests/containerizer/cni_isolator_tests.cpp
+++ b/src/tests/containerizer/cni_isolator_tests.cpp
@@ -130,12 +130,12 @@ TEST(CniSpecTest, GenerateResolverConfig)
}
-class CniIsolatorTest : public MesosTest
+class CniIsolatorTest : public ContainerizerTest<MesosContainerizer>
{
public:
void SetUp() override
{
- MesosTest::SetUp();
+ ContainerizerTest<MesosContainerizer>::SetUp();
cniPluginDir = path::join(sandbox.get(), "plugins");
cniConfigDir = path::join(sandbox.get(), "configs");