Skip to content

Commit

Permalink
fix v1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickorlow committed May 20, 2024
1 parent b2d67ff commit e9f3717
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/cgroups/cgroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e9f3717

Please sign in to comment.