Merge pull request #8284 from heyitsanthony/whitelist-close

testutil: whitelist os.(*file).close
release-3.3
Anthony Romano 2017-07-19 21:32:55 -07:00 committed by GitHub
commit 46ee06a85c
1 changed files with 1 additions and 0 deletions

View File

@ -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") ||