Browse Source

Merge pull request #7603 from heyitsanthony/leak-check-grpc

testutil: check for grpc resources in AfterTest
Anthony Romano 8 years ago
parent
commit
e6f72b4f42
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pkg/testutil/leak.go

+ 1 - 0
pkg/testutil/leak.go

@@ -76,6 +76,7 @@ func CheckAfterTest(d time.Duration) error {
 		"net.(*netFD).connect(":                        "a timing out dial",
 		"net.(*netFD).connect(":                        "a timing out dial",
 		").noteClientGone(":                            "a closenotifier sender",
 		").noteClientGone(":                            "a closenotifier sender",
 		").readLoop(":                                  "a Transport",
 		").readLoop(":                                  "a Transport",
+		".grpc":                                        "a gRPC resource",
 	}
 	}
 
 
 	var stacks string
 	var stacks string