mirror of https://github.com/containers/podman.git
Disable rootless pod stats tests w/ CgroupV1
When running as rootless, on a CgroupV1 host these tests all report: `Error: pod stats is not supported in rootless mode without cgroups v2` Note: Recently updated F32 (prior-fedora) and Ubuntu 20.04 (prior-ubuntu) VMs always use CGroupsV1 with runc. F33 and Ubuntu 20.10 were updated to always use CGroupsV2 with crun. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
e6fbc15f26
commit
0bb865e6c2
|
|
@ -17,9 +17,7 @@ var _ = Describe("Podman pod stats", func() {
|
|||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
if os.Geteuid() != 0 {
|
||||
SkipIfCgroupV2("--cgroup-manager=cgroupfs which doesn't work in rootless mode")
|
||||
}
|
||||
SkipIfRootless("Tests fail with both CGv1/2 + required --cgroup-manager=cgroupfs")
|
||||
if isContainerized() {
|
||||
SkipIfCgroupV1("All tests fail Error: unable to load cgroup at ...: cgroup deleted")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue