This is an automated email from the ASF dual-hosted git repository.
bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new ba16e64ef [cgroup2] Fix CPU isolator tests on cgroups2 systems
ba16e64ef is described below
commit ba16e64ef390f0f694c1c0c4446a147cdba2d00d
Author: None <None>
AuthorDate: Wed May 15 17:46:21 2024 -0400
[cgroup2] Fix CPU isolator tests on cgroups2 systems
The change involves migrating the isolator tests from
MesosTests to ContainerizerTest which inherit from MesosTests
This allows cgroups2 tests to create cgroups in appropriate
directories during tests.
Review: https://reviews.apache.org/r/74989/
---
src/tests/containerizer/cpu_isolator_tests.cpp | 2 +-
src/tests/containerizer/memory_isolator_tests.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/containerizer/cpu_isolator_tests.cpp
b/src/tests/containerizer/cpu_isolator_tests.cpp
index 9498a23da..1131af754 100644
--- a/src/tests/containerizer/cpu_isolator_tests.cpp
+++ b/src/tests/containerizer/cpu_isolator_tests.cpp
@@ -45,7 +45,7 @@ namespace internal {
namespace tests {
class CpuIsolatorTest
- : public MesosTest,
+ : public ContainerizerTest<MesosContainerizer>,
public WithParamInterface<string> {};
diff --git a/src/tests/containerizer/memory_isolator_tests.cpp
b/src/tests/containerizer/memory_isolator_tests.cpp
index ec0f359a2..6e0e51455 100644
--- a/src/tests/containerizer/memory_isolator_tests.cpp
+++ b/src/tests/containerizer/memory_isolator_tests.cpp
@@ -45,7 +45,7 @@ namespace internal {
namespace tests {
class MemoryIsolatorTest
- : public MesosTest,
+ : public ContainerizerTest<MesosContainerizer>,
public WithParamInterface<string> {};