goroutine 资源泄露检测器
Refactored, tested variant of the goroutine leak detector found in both
net/http tests and the cockroachdb source tree.
Takes a snapshot of running goroutines at the start of a test, and at the end -
compares the two and voila. Ignores runtime/sys goroutines. Doesn't play nice
with t.Parallel() right now, but there are plans to do so.
Go 1.7+
go get -u github.com/fortytw2/leaktest
Go 1.5/1.6 need to use the tag v1.0.0, as newer versions depend on
context.Context.
These tests fail, because they leak a goroutine
…
Same BSD-style as Go, see LICENSE
暂无开放 Issues,或尚未同步最近议题。