New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http/httputil: TestDumpRequest fails for count=2 #26858

Open
randall77 opened this Issue Aug 8, 2018 · 2 comments

Comments

Projects
None yet
4 participants
@randall77
Contributor

randall77 commented Aug 8, 2018

$ ../bin/go test net/http/httputil -count=2
--- FAIL: TestDumpRequest (0.00s)
    dump_test.go:224: DumpRequest #7: http: invalid Read on closed Body
FAIL
FAIL	net/http/httputil	0.059s

The test seems to fail n-1 times for any count n >= 2.

@randall77 randall77 added the Testing label Aug 8, 2018

@randall77 randall77 added this to the Go1.12 milestone Aug 8, 2018

@meirf meirf added the help wanted label Aug 8, 2018

@gopherbot

This comment has been minimized.

gopherbot commented Aug 8, 2018

Change https://golang.org/cl/128478 mentions this issue: net/http/httputil: fix TestDumpRequest fails for count equal th…

@odeke-em odeke-em self-assigned this Dec 9, 2018

@gopherbot

This comment has been minimized.

gopherbot commented Dec 9, 2018

Change https://golang.org/cl/153377 mentions this issue: net/http/httputil: make TestDumpRequest idempotent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment