Skip to content

Commit

Permalink
Add cgroups2 zero period test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamony authored Jun 8, 2023
1 parent 94e72e3 commit 1925c28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/cgroups/cgroups2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ func TestCGroupsCPUQuotaV2(t *testing.T) {
name: "too-many-fields",
wantErr: "invalid format",
},
{
name: "zero-period",
wantErr: "zero value for period is not allowed",
},
}

mountPoint := filepath.Join(testDataCGroupsPath, "v2")
Expand Down

0 comments on commit 1925c28

Please sign in to comment.