mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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.
This commit is contained in:
parent
608a2be9c5
commit
997e83f8ea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user