fix v1 test

This commit is contained in:
Nicholas Orlowsky 2024-05-20 16:14:39 +02:00
parent b2d67ff92b
commit e9f371787e
No known key found for this signature in database
GPG key ID: 838827D8C4611687

View file

@ -39,6 +39,9 @@ var _ = framework.IngressNginxDescribeSerial("[CGroups] cgroups", func() {
ginkgo.It("detects cgroups version v1", func() {
cgroupPath := "/testing/sys/fs/cgroup/"
if err := os.MkdirAll(cgroupPath, os.ModePerm); err != nil {
log.Fatal(err)
}
quotaFile, err := os.Create(filepath.Join(cgroupPath, "cpu.cfs_quota_us"))
if err != nil {