Michael Matloob d9fd88a569 go/packages: add a timeout for TestLoadImportsC
This will help debug golang/go#34621 by threading a context that's
canceled when the test times out. This will kill a go command that's
running when the test times out (the go command is already run
using CommandContext with the config's context).

Updates golang/go#34621

Change-Id: Iad373fd41d34395e817e6de50dd9e5842b2ef623
Reviewed-on: https://go-review.googlesource.com/c/tools/+/204200
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-31 14:42:23 +00:00
..
2019-01-10 14:16:07 +00:00
2019-09-11 15:13:14 +00:00
2019-09-11 15:13:14 +00:00
2019-10-01 17:08:58 +00:00
2019-09-11 15:13:14 +00:00
2019-05-06 14:53:03 +00:00