1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:28:32 -06:00
go/internal/jsonrpc2
Ian Cottrell dd5f9d1033 internal/stack: add the leak test
This adds a package for dealing with stacks in tests.
The only function at this time is NoLeak which verifies that a test
does not leak any goroutines, and prints a stack summary if it does.

Change-Id: I284b846f422334b745bef0e96d84138295120a62
Reviewed-on: https://go-review.googlesource.com/c/tools/+/232681
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-05-27 14:25:42 +00:00
..
servertest internal/jsonrpc2: rename NewStream to NewRawStream 2020-05-04 15:25:39 +00:00
handler.go internal/event: renaming the main event API functions 2020-04-23 17:21:36 +00:00
jsonrpc2_test.go internal/stack: add the leak test 2020-05-27 14:25:42 +00:00
jsonrpc2.go internal/jsonrpc2: remove jsonrpc2.ErrDisconnected 2020-04-27 16:39:59 +00:00
messages.go internal/jsonrpc2: add concrete types for Call, Notify and Response 2020-04-20 21:05:32 +00:00
serve_test.go internal/stack: add the leak test 2020-05-27 14:25:42 +00:00
serve.go internal/jsonrpc2: fix goroutine leak when listener is closed 2020-04-27 12:55:06 +00:00
stream.go internal/jsonrpc2: rename NewStream to NewRawStream 2020-05-04 15:25:39 +00:00
wire_test.go internal/lsp: fix broken lsp logs 2020-04-21 17:00:05 +00:00
wire.go internal/lsp: fix broken lsp logs 2020-04-21 17:00:05 +00:00