mirror of https://github.com/grpc/grpc-go.git
leakcheck: ignore http read/write goroutine (#5182)
This commit is contained in:
parent
980790869b
commit
f68fb05c3e
|
|
@ -42,6 +42,12 @@ var goroutinesToIgnore = []string{
|
||||||
"runtime_mcall",
|
"runtime_mcall",
|
||||||
"(*loggingT).flushDaemon",
|
"(*loggingT).flushDaemon",
|
||||||
"goroutine in C code",
|
"goroutine in C code",
|
||||||
|
// Ignore the http read/write goroutines. gce metadata.OnGCE() was leaking
|
||||||
|
// these, root cause unknown.
|
||||||
|
//
|
||||||
|
// https://github.com/grpc/grpc-go/issues/5171
|
||||||
|
// https://github.com/grpc/grpc-go/issues/5173
|
||||||
|
"created by net/http.(*Transport).dialConn",
|
||||||
}
|
}
|
||||||
|
|
||||||
// RegisterIgnoreGoroutine appends s into the ignore goroutine list. The
|
// RegisterIgnoreGoroutine appends s into the ignore goroutine list. The
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue