mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-08 06:57:39 +00:00
Temporarily disable systemd test for CGroups V2
Revert this one CGroups V2 support for systemd containers is added. Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
parent
63d989a344
commit
ca0dfca5c9
1 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/containers/libpod/pkg/cgroups"
|
||||
. "github.com/containers/libpod/test/utils"
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
|
|
@ -81,6 +82,12 @@ WantedBy=multi-user.target
|
|||
})
|
||||
|
||||
It("podman run container with systemd PID1", func() {
|
||||
cgroupsv2, err := cgroups.IsCgroup2UnifiedMode()
|
||||
Expect(err).To(BeNil())
|
||||
if cgroupsv2 {
|
||||
Skip("systemd test does not work in cgroups V2 mode yet")
|
||||
}
|
||||
|
||||
systemdImage := "fedora"
|
||||
pull := podmanTest.Podman([]string{"pull", systemdImage})
|
||||
pull.WaitWithDefaultTimeout()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue