From a2b3b67b3f543a54ab0f09500b6c9e18bc33097f Mon Sep 17 00:00:00 2001 From: Gaurav Singh Date: Fri, 29 May 2020 12:36:49 -0400 Subject: runner: fix goroutine leak Signed-off-by: Gaurav Singh --- test/runner/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/runner/runner.go') diff --git a/test/runner/runner.go b/test/runner/runner.go index e4f04cd2a..e048e5a9c 100644 --- a/test/runner/runner.go +++ b/test/runner/runner.go @@ -204,7 +204,7 @@ func runRunsc(tc gtest.TestCase, spec *specs.Spec) error { return } log.Warningf("%s: Got signal: %v", name, s) - done := make(chan bool) + done := make(chan bool, 1) dArgs := append([]string{}, args...) dArgs = append(dArgs, "-alsologtostderr=true", "debug", "--stacks", id) go func(dArgs []string) { -- cgit v1.2.3