diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-28 09:17:27 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-29 16:01:26 -0400 |
commit | b496802413aecf95b0d2786cb6e13618b388a406 (patch) | |
tree | 1d48d952e8dff642ab5db1edbc9d30a4da4fbef5 /test/e2e/run_cgroup_parent_test.go | |
parent | 453333a35cc791e9031e5d24e0ac5e76a2b2aa75 (diff) | |
download | podman-b496802413aecf95b0d2786cb6e13618b388a406.tar.gz podman-b496802413aecf95b0d2786cb6e13618b388a406.tar.bz2 podman-b496802413aecf95b0d2786cb6e13618b388a406.zip |
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>
Diffstat (limited to 'test/e2e/run_cgroup_parent_test.go')
-rw-r--r-- | test/e2e/run_cgroup_parent_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_cgroup_parent_test.go b/test/e2e/run_cgroup_parent_test.go index b10937953..5765d5ef6 100644 --- a/test/e2e/run_cgroup_parent_test.go +++ b/test/e2e/run_cgroup_parent_test.go @@ -18,7 +18,7 @@ var _ = Describe("Podman run with --cgroup-parent", func() { ) BeforeEach(func() { - SkipIfRootlessCgroupsV1() // cgroup parent is not supported in cgroups v1 + SkipIfRootlessCgroupsV1("cgroup parent is not supported in cgroups v1") tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) @@ -48,7 +48,7 @@ var _ = Describe("Podman run with --cgroup-parent", func() { }) Specify("no --cgroup-parent", func() { - SkipIfRootless() // FIXME This seems to be broken in rootless mode + SkipIfRootless("FIXME This seems to be broken in rootless mode") cgroup := "/libpod_parent" if !Containerized() && podmanTest.CgroupManager != "cgroupfs" { cgroup = "/machine.slice" |