From e9f371787e82e11b6009b77d740e88edd8691bf8 Mon Sep 17 00:00:00 2001 From: Nicholas Orlowsky Date: Mon, 20 May 2024 16:14:39 +0200 Subject: [PATCH] fix v1 test --- test/e2e/cgroups/cgroups.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/cgroups/cgroups.go b/test/e2e/cgroups/cgroups.go index 59c6f6bf6c..eab1943240 100644 --- a/test/e2e/cgroups/cgroups.go +++ b/test/e2e/cgroups/cgroups.go @@ -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 {