aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-27 16:44:31 -0400
committerGitHub <noreply@github.com>2021-04-27 16:44:31 -0400
commitdbc13f3dac4fa4095ae5db86085e5711a701eb7b (patch)
tree5ddb4014665f1fbdebd8c3e91c45647178298dc7 /test
parentba9c1f3f17a4f0086d9ac25fe0f211b3c75e514a (diff)
parent0a08216990dc650ac0eb799b8923ba96aab049d0 (diff)
downloadpodman-dbc13f3dac4fa4095ae5db86085e5711a701eb7b.tar.gz
podman-dbc13f3dac4fa4095ae5db86085e5711a701eb7b.tar.bz2
podman-dbc13f3dac4fa4095ae5db86085e5711a701eb7b.zip
Merge pull request #10137 from cevich/update_ubuntu_2104
Cirrus: Update Ubuntu images to 21.04
Diffstat (limited to 'test')
-rw-r--r--test/e2e/run_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 93505d742..74bdfce2c 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -582,6 +582,9 @@ USER bin`, BB)
if _, err := os.Stat("/sys/fs/cgroup/io.stat"); os.IsNotExist(err) {
Skip("Kernel does not have io.stat")
}
+ if _, err := os.Stat("/sys/fs/cgroup/system.slice/io.bfq.weight"); os.IsNotExist(err) {
+ Skip("Kernel does not support BFQ IO scheduler")
+ }
session := podmanTest.Podman([]string{"run", "--rm", "--blkio-weight=15", ALPINE, "sh", "-c", "cat /sys/fs/cgroup/io.bfq.weight"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))