Package leakcheck contains functions to check leaked goroutines.
Call "defer leakcheck.Check(t)" at the beginning of tests.
func Check ¶
func Check(efer Errorfer)
Check looks at the currently-running goroutines and checks if there are any interesting (created by gRPC) goroutines leaked. It waits up to 10 seconds in the error cases.