diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-04 04:09:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-04 04:09:10 +0000 |
commit | b0abfc3cf624098525c7a4f7e1b7b6b59ad3156d (patch) | |
tree | 84756a5c652adbf21310cade63abe3a0df6ec94b | |
parent | 73cdc925f0cbe0a25d70f04003ecf7fdc9f97bf6 (diff) | |
parent | 8106568ca287e67263ec2f0cbaefff676891cfdb (diff) | |
download | podman-b0abfc3cf624098525c7a4f7e1b7b6b59ad3156d.tar.gz podman-b0abfc3cf624098525c7a4f7e1b7b6b59ad3156d.tar.bz2 podman-b0abfc3cf624098525c7a4f7e1b7b6b59ad3156d.zip |
Merge pull request #14816 from giuseppe/drop-pod-create--device-read-bps-test
test: drop pod-create --device-read-bps test
-rw-r--r-- | test/e2e/pod_create_test.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/e2e/pod_create_test.go b/test/e2e/pod_create_test.go index a48193e90..e463862f5 100644 --- a/test/e2e/pod_create_test.go +++ b/test/e2e/pod_create_test.go @@ -899,27 +899,6 @@ ENTRYPOINT ["sleep","99999"] }) - It("podman pod create --device-read-bps", func() { - SkipIfRootless("Cannot create devices in /dev in rootless mode") - SkipIfRootlessCgroupsV1("Setting device-read-bps not supported on cgroupv1 for rootless users") - - podName := "testPod" - session := podmanTest.Podman([]string{"pod", "create", "--device-read-bps", "/dev/zero:1mb", "--name", podName}) - session.WaitWithDefaultTimeout() - Expect(session).Should(Exit(0)) - - if CGROUPSV2 { - session = podmanTest.Podman([]string{"run", "--rm", "--pod", podName, ALPINE, "sh", "-c", "cat /sys/fs/cgroup/$(sed -e 's|0::||' < /proc/self/cgroup)/io.max"}) - } else { - session = podmanTest.Podman([]string{"run", "--rm", "--pod", podName, ALPINE, "cat", "/sys/fs/cgroup/blkio/blkio.throttle.read_bps_device"}) - } - session.WaitWithDefaultTimeout() - Expect(session).Should(Exit(0)) - if !CGROUPSV2 { - Expect(session.OutputToString()).To(ContainSubstring("1048576")) - } - }) - It("podman pod create --volumes-from", func() { volName := "testVol" volCreate := podmanTest.Podman([]string{"volume", "create", volName}) |