1
0
mirror of https://github.com/golang/go synced 2024-09-25 05:20:13 -06:00

net/http: fix test breakage on Windows

Treat the Windows net server as uninteresting for leak
purposes too.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7818048
This commit is contained in:
Brad Fitzpatrick 2013-03-15 15:58:43 -07:00
parent 3fdeb8614d
commit 552207611b

View File

@ -24,6 +24,7 @@ func interestingGoroutines() (gs []string) {
stack := strings.TrimSpace(sl[1])
if stack == "" ||
strings.Contains(stack, "created by net.newPollServer") ||
strings.Contains(stack, "created by net.startServer") ||
strings.Contains(stack, "created by testing.RunTests") ||
strings.Contains(stack, "closeWriteAndWait") ||
strings.Contains(stack, "testing.Main(") {