diff options
author | Gaurav Singh <gaurav1086@gmail.com> | 2020-05-29 12:36:49 -0400 |
---|---|---|
committer | Gaurav Singh <gaurav1086@gmail.com> | 2020-05-29 12:36:49 -0400 |
commit | a2b3b67b3f543a54ab0f09500b6c9e18bc33097f (patch) | |
tree | ed6c7c638fdd853b9ce64af217d7e16fb489af3a /test/runner/runner.go | |
parent | fe464f44b7d3696bafd9a2faf3750e1dc4d56d80 (diff) |
runner: fix goroutine leak
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Diffstat (limited to 'test/runner/runner.go')
-rw-r--r-- | test/runner/runner.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |