Merge pull request #672 from iamqizhao/master
skip more go runtime goroutines in leak check.
This commit is contained in:
Коммит
ab0be5212f
|
@ -1946,6 +1946,7 @@ func interestingGoroutines() (gs []string) {
|
|||
strings.Contains(stack, "testing.Main(") ||
|
||||
strings.Contains(stack, "runtime.goexit") ||
|
||||
strings.Contains(stack, "created by runtime.gc") ||
|
||||
strings.Contains(stack, "created by google3/base/go/log.init") ||
|
||||
strings.Contains(stack, "interestingGoroutines") ||
|
||||
strings.Contains(stack, "runtime.MHeap_Scavenger") ||
|
||||
strings.Contains(stack, "signal.signal_recv") ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче