summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-11-03 09:28:06 -0600
committerbaude <bbaude@redhat.com>2020-11-03 09:28:06 -0600
commit73742a0e73ddaf00e8a44d80c6ae0e1af3254e26 (patch)
treec226d08a33336e08414d12f6d92a749672df2cc0 /test/e2e/common_test.go
parent96358824f6eb9a8a4c42abea5d5422fe42ecb106 (diff)
downloadpodman-73742a0e73ddaf00e8a44d80c6ae0e1af3254e26.tar.gz
podman-73742a0e73ddaf00e8a44d80c6ae0e1af3254e26.tar.bz2
podman-73742a0e73ddaf00e8a44d80c6ae0e1af3254e26.zip
fedora rootless cpu settings
fedora does not have the the ability in rootless to set cpu limits. this requires a simple fix for fedora 33 to pass ci tests. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index 3814d161d..678b2c882 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -613,12 +613,10 @@ func SkipIfRootlessCgroupsV1(reason string) {
}
}
-func SkipIfUnprevilegedCPULimits() {
+func SkipIfUnprivilegedCPULimits() {
info := GetHostDistributionInfo()
- if isRootless() &&
- info.Distribution == "fedora" &&
- (info.Version == "31" || info.Version == "32") {
- ginkgo.Skip("Rootless Fedora doesn't have permission to set CPU limits before version 33")
+ if isRootless() && info.Distribution == "fedora" {
+ ginkgo.Skip("Rootless Fedora doesn't have permission to set CPU limits")
}
}