Repository: mesos
Updated Branches:
  refs/heads/master 38ab7cb0c -> 196dad76c


Changed the SLRP test fixture.

Used the `ContainerizerTest<MesosContainerizer>` fixture instead. This
guarantees that the cgroup root is different for each test run,
prevening interferences.

Review: https://reviews.apache.org/r/65492


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/196dad76
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/196dad76
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/196dad76

Branch: refs/heads/master
Commit: 196dad76c2648ae4cca34588773d96a705f0c4d3
Parents: 38ab7cb
Author: Jie Yu <yujie....@gmail.com>
Authored: Fri Feb 2 16:07:35 2018 -0800
Committer: Jie Yu <yujie....@gmail.com>
Committed: Fri Feb 2 16:08:41 2018 -0800

----------------------------------------------------------------------
 src/tests/storage_local_resource_provider_tests.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/196dad76/src/tests/storage_local_resource_provider_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/storage_local_resource_provider_tests.cpp 
b/src/tests/storage_local_resource_provider_tests.cpp
index 2761701..bbacc3f 100644
--- a/src/tests/storage_local_resource_provider_tests.cpp
+++ b/src/tests/storage_local_resource_provider_tests.cpp
@@ -63,7 +63,8 @@ constexpr char TEST_SLRP_TYPE[] = 
"org.apache.mesos.rp.local.storage";
 constexpr char TEST_SLRP_NAME[] = "test";
 
 
-class StorageLocalResourceProviderTest : public MesosTest
+class StorageLocalResourceProviderTest
+  : public ContainerizerTest<slave::MesosContainerizer>
 {
 public:
   virtual void SetUp()

Reply via email to