You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing the code and tests implementing #20808, I ran
$ go test -v -run=Detect
What did you expect to see?
=== RUN TestHTTPSClientDetectsHTTPServer
--- PASS: TestHTTPSClientDetectsHTTPServer (0.00s)
=== RUN TestDetectContentType
--- PASS: TestDetectContentType (0.00s)
PASS
What did you see instead?
=== RUN TestHTTPSClientDetectsHTTPServer
--- PASS: TestHTTPSClientDetectsHTTPServer (0.00s)
=== RUN TestDetectContentType
--- PASS: TestDetectContentType (0.00s)
PASS
Too many goroutines running after net/http test(s).
1 instances of:
os/signal.signal_recv(0x0)
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/runtime/sigqueue.go:116 +0xa7
os/signal.loop()
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/os/signal/signal_unix.go:28 +0x41
1 instances of:
testing.(*M).before.func1(0xc420070180)
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/testing/testing.go:1111 +0x38
created by testing.(*M).before
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/testing/testing.go:1110 +0x191
exit status 1
FAIL net/http 0.540s
I haven't performed a git bissection or an investigation but one can easily check that this problem doesn't exist on Go1.8 but it does on Go1.9Beta1, Go1.9Beta2
The text was updated successfully, but these errors were encountered:
Still exists on latest tip 81ed9ca. Before filling the bug report, I had just git reverted a bunch of commits trying to quickly find out what had tripped out
$ go version
go version devel +81ed9ca Tue Jun 27 19:00:52 2017 +0000 darwin/amd64
go test -v -run=Detect
=== RUN TestHTTPSClientDetectsHTTPServer
--- PASS: TestHTTPSClientDetectsHTTPServer (0.00s)
=== RUN TestDetectContentType
--- PASS: TestDetectContentType (0.00s)
PASS
Too many goroutines running after net/http test(s).
1 instances of:
testing.(*M).before.func1(0xc420064180)
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/testing/testing.go:1111 +0x38
created by testing.(*M).before
/Users/emmanuelodeke/go/src/go.googlesource.com/go/src/testing/testing.go:1110 +0x191
exit status 1
FAIL net/http 0.540s
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
While writing the code and tests implementing #20808, I ran
$ go test -v -run=Detect
What did you expect to see?
What did you see instead?
I haven't performed a git bissection or an investigation but one can easily check that this problem doesn't exist on Go1.8 but it does on Go1.9Beta1, Go1.9Beta2
The text was updated successfully, but these errors were encountered: