From 997e83f8ea84305a5ffe383db58aba8fbb080a3c Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Fri, 24 Mar 2017 16:09:38 -0700 Subject: [PATCH] testutil: check for grpc resources in AfterTest gRPC leaks only show up at the final leak check, making it difficult to determine which test is causing the leak. --- pkg/testutil/leak.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/testutil/leak.go b/pkg/testutil/leak.go index 874dfcc21..12d4408e3 100644 --- a/pkg/testutil/leak.go +++ b/pkg/testutil/leak.go @@ -76,6 +76,7 @@ func CheckAfterTest(d time.Duration) error { "net.(*netFD).connect(": "a timing out dial", ").noteClientGone(": "a closenotifier sender", ").readLoop(": "a Transport", + ".grpc": "a gRPC resource", } var stacks string