diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-05-29 11:25:04 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-29 11:25:04 -0700 |
commit | 9edfb52ba5d270af713581a08d51d85f5cd96aee (patch) | |
tree | ed6c7c638fdd853b9ce64af217d7e16fb489af3a /test/runner | |
parent | fe464f44b7d3696bafd9a2faf3750e1dc4d56d80 (diff) | |
parent | a2b3b67b3f543a54ab0f09500b6c9e18bc33097f (diff) |
Merge pull request #2817 from gaurav1086:runner_fix_goroutine_leak
PiperOrigin-RevId: 313816987
Diffstat (limited to 'test/runner')
-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) { |