Merge pull request #8284 from heyitsanthony/whitelist-close
testutil: whitelist os.(*file).closerelease-3.3
commit
46ee06a85c
|
@ -119,6 +119,7 @@ func interestingGoroutines() (gs []string) {
|
|||
stack := strings.TrimSpace(sl[1])
|
||||
if stack == "" ||
|
||||
strings.Contains(stack, "sync.(*WaitGroup).Done") ||
|
||||
strings.Contains(stack, "os.(*file).close") ||
|
||||
strings.Contains(stack, "created by os/signal.init") ||
|
||||
strings.Contains(stack, "runtime/panic.go") ||
|
||||
strings.Contains(stack, "created by testing.RunTests") ||
|
||||
|
|
Loading…
Reference in New Issue