mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkpkg/testutil/leak.go: Allowlist created by testing.runTests.func1
This commit is contained in:
parent
b19eb0f339
commit
91bed2e01f
@ -118,6 +118,7 @@ func interestingGoroutines() (gs []string) {
|
||||
}
|
||||
stack := strings.TrimSpace(sl[1])
|
||||
if stack == "" ||
|
||||
strings.Contains(stack, "created by testing.runTests.func1") ||
|
||||
strings.Contains(stack, "sync.(*WaitGroup).Done") ||
|
||||
strings.Contains(stack, "os.(*file).close") ||
|
||||
strings.Contains(stack, "created by os/signal.init") ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user