mirror of
https://github.com/containers/podman.git
synced 2025-06-30 07:26:39 +08:00
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 <pholzing@redhat.com>
This commit is contained in:
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user