From 9a0ed6929a33d8a6490cd2962d00b6bc4ceb4cbc Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 26 Apr 2024 14:27:19 +0200 Subject: [PATCH] test/e2e: force systemd cgroup manager It is not clear why rootless was forced to the cgroupfs manager when systemd is the default. In any case it causes local test failures as described in the issue[1]. Using systemd manager makes them pass as expected, I don't know enough aout cgroups to know the difference and why certain tests have bad asumptions but this fixes it. [1] https://github.com/containers/podman/issues/22474 Signed-off-by: Paul Holzinger --- test/e2e/common_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 64a8891da9..a0e715f717 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -274,9 +274,6 @@ func PodmanTestCreateUtil(tempDir string, remote bool) *PodmanTestIntegration { } cgroupManager := CGROUP_MANAGER - if isRootless() { - cgroupManager = "cgroupfs" - } if os.Getenv("CGROUP_MANAGER") != "" { cgroupManager = os.Getenv("CGROUP_MANAGER") }