Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
edytuk authored and cclerget committed Nov 9, 2021
1 parent 6db36af commit a9c9855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/cgroups/managerv1_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestPauseResumeV1(t *testing.T) {
defer manager.Remove()

manager.Pause()
// cgroups v1 freeze is to uninterruptable sleep
// cgroups v1 freeze is to uninterruptible sleep
ensureState(t, manager.pid, "D")

manager.Resume()
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/cgroups/managerv2_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestCgroupsV2(t *testing.T) {
defer manager.Remove()

// For cgroups v2 [pids] limit -> pids.max
// Check for corrrect 1024 value
// Check for correct 1024 value
pidsMax := filepath.Join(mountPoint, group, "pids.max")
ensureIntInFile(t, pidsMax, 1024)

Expand Down Expand Up @@ -109,7 +109,7 @@ func TestPauseResumeV2(t *testing.T) {
defer manager.Remove()

manager.Pause()
// cgroups v2 freeze is to interruptable sleep, which could actually occur
// cgroups v2 freeze is to interruptible sleep, which could actually occur
// for our cat /dev/zero while it's running, so check freeze marker as well
// as the process state here.
ensureState(t, manager.pid, "S")
Expand Down

0 comments on commit a9c9855

Please sign in to comment.