Skip to content

net/http: unit test failure #3494

@alberts

Description

@alberts
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.

run the net/http test a few hundred times

What do you see instead?

--- FAIL: TestIdentityResponse (0.00 seconds)
serve_test.go:332: for http://127.0.0.1:38967/?te= expected res.ContentLength of 3; got
-1
serve_test.go:335: for http://127.0.0.1:38967/?te= expected Content-Length header of
"3"; got ""
serve_test.go:339: for http://127.0.0.1:38967/?te= expected len(res.TransferEncoding) of
0; got 1 ([chunked])
serve_test.go:332: for http://127.0.0.1:38967/?te=identity expected res.ContentLength of
3; got -1
serve_test.go:335: for http://127.0.0.1:38967/?te=identity expected Content-Length
header of "3"; got ""
serve_test.go:339: for http://127.0.0.1:38967/?te=identity expected
len(res.TransferEncoding) of 0; got 1 ([chunked])

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which version are you using?  (run 'go version')

go version weekly.2012-03-27 +d9e4f47ae341

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions