mirror of
https://github.com/containers/podman.git
synced 2025-10-13 17:26:13 +08:00
Make all Skips specify a reason
Always use CGROUPV2 rather then reading from system all the time. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -21,9 +21,7 @@ var _ = Describe("Podman stats", func() {
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
if os.Geteuid() != 0 {
|
||||
SkipIfCgroupV1()
|
||||
}
|
||||
SkipIfRootlessCgroupsV1("stats not supported on cgroupv1 for rootless users")
|
||||
var err error
|
||||
tempdir, err = CreateTempDirInTempDir()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user