go/gopls/internal/regtest
Rob Findley 697795d6a8 internal/lsp/regtest: don't run the connection on the test context
When test awaiting fails, we often fail to shut down the server because
the pipe is closed. Fix this by using a detached context for running the
connection.

Also clean up some unnecessary context arguments.

Change-Id: I535c1cc1606e44df5f8e2177c92293d57836f992
Reviewed-on: https://go-review.googlesource.com/c/tools/+/340850
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2022-06-10 12:48:42 +00:00
..
bench internal/lsp/cache: two minor optimizations 2022-06-06 21:20:40 +00:00
codelens internal/lsp/cache: invalidate metadata when parsing issues resolve 2022-05-23 18:14:40 +00:00
completion internal/lsp/cache: invalidate metadata when parsing issues resolve 2022-05-23 18:14:40 +00:00
debug internal/lsp: add an option to get notified of bug reports 2022-05-18 01:40:46 +00:00
diagnostics internal/lsp/progress: detach context for all progress notifications 2022-06-02 20:26:04 +00:00
misc internal/lsp/regtest: don't run the connection on the test context 2022-06-10 12:48:42 +00:00
modfile internal/lsp/cache: invalidate metadata when parsing issues resolve 2022-05-23 18:14:40 +00:00
template internal/lsp/cache: invalidate metadata when parsing issues resolve 2022-05-23 18:14:40 +00:00
watch internal/lsp/cache: invalidate metadata when parsing issues resolve 2022-05-23 18:14:40 +00:00
workspace internal/lsp/cache: extract module load errors when go.work is used 2022-06-08 22:04:49 +00:00