summaryrefslogtreecommitdiff
path: root/test/e2e/run_ns_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-16 15:52:25 +0000
committerGitHub <noreply@github.com>2020-12-16 15:52:25 +0000
commitbacb2fc526dba7214e3c8420eccc5cf22bbb1a29 (patch)
tree1e0e5dc8f71cacb030cd001734957c87b5370380 /test/e2e/run_ns_test.go
parent978c0767fa72abfa41f720f6fab34a62e3ac7a12 (diff)
parentf66ecc882df822260e41de24b1c5f44a1ba3c3ad (diff)
downloadpodman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.tar.gz
podman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.tar.bz2
podman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.zip
Merge pull request #8312 from cevich/new_ubuntu_images
Cirrus: Update VM Images; Both Fedora and Ubuntu "prior" flavors run with CGroupsV1 & runc
Diffstat (limited to 'test/e2e/run_ns_test.go')
-rw-r--r--test/e2e/run_ns_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/e2e/run_ns_test.go b/test/e2e/run_ns_test.go
index 5242e04d2..51657cb1e 100644
--- a/test/e2e/run_ns_test.go
+++ b/test/e2e/run_ns_test.go
@@ -35,6 +35,7 @@ var _ = Describe("Podman run ns", func() {
})
It("podman run pidns test", func() {
+ SkipIfRootlessCgroupsV1("Not supported for rootless + CGroupsV1")
session := podmanTest.Podman([]string{"run", fedoraMinimal, "bash", "-c", "echo $$"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -105,6 +106,7 @@ var _ = Describe("Podman run ns", func() {
})
It("podman run --ipc=host --pid=host", func() {
+ SkipIfRootlessCgroupsV1("Not supported for rootless + CGroupsV1")
cmd := exec.Command("ls", "-l", "/proc/self/ns/pid")
res, err := cmd.Output()
Expect(err).To(BeNil())