leakcheck: ignore http read/write goroutine (#5182)
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user