mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
Merge pull request #8983 from rhatdan/test
Turn on podman pod stats test for rootless cgroup v2
This commit is contained in:
@ -17,7 +17,7 @@ var _ = Describe("Podman pod stats", func() {
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
SkipIfRootless("Tests fail with both CGv1/2 + required --cgroup-manager=cgroupfs")
|
||||
SkipIfRootlessCgroupsV1("Tests fail with both CGv1 + required --cgroup-manager=cgroupfs")
|
||||
if isContainerized() {
|
||||
SkipIfCgroupV1("All tests fail Error: unable to load cgroup at ...: cgroup deleted")
|
||||
}
|
||||
@ -176,8 +176,7 @@ var _ = Describe("Podman pod stats", func() {
|
||||
})
|
||||
|
||||
It("podman stats on net=host post", func() {
|
||||
// --net=host not supported for rootless pods at present
|
||||
SkipIfRootlessCgroupsV1("Pause stats not supported in cgroups v1")
|
||||
SkipIfRootless("--net=host not supported for rootless pods at present")
|
||||
podName := "testPod"
|
||||
podCreate := podmanTest.Podman([]string{"pod", "create", "--net=host", "--name", podName})
|
||||
podCreate.WaitWithDefaultTimeout()
|
||||
|
Reference in New Issue
Block a user