diff --git a/sys/oom_unix_test.go b/sys/oom_unix_test.go index dee5f81bf..9bad2db53 100644 --- a/sys/oom_unix_test.go +++ b/sys/oom_unix_test.go @@ -87,7 +87,7 @@ func adjustOom(adjustment int) (int, error) { } func waitForPid(process *os.Process) (int, error) { - c := make(chan int) + c := make(chan int, 1) go func() { for { pid := process.Pid