Skip to content
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: connection reset by peer during "race" tests #17713

rsc opened this issue Nov 1, 2016 · 1 comment

net/http: connection reset by peer during "race" tests #17713

rsc opened this issue Nov 1, 2016 · 1 comment


Copy link

@rsc rsc commented Nov 1, 2016

From a recent all.bash on macOS Sierra:

--- FAIL: TestTimeoutHandlerRaceHeader (0.01s)
	serve_test.go:1943: Get dial tcp getsockopt: connection reset by peer
--- FAIL: TestServerEmptyBodyRace_h2 (0.11s)
	serve_test.go:3685: Get read tcp> read: connection reset by peer
	serve_test.go:3698: handler ran 19 times; want 20

I see stuff like this with some regularity. Not sure if Sierra changed something or the test is buggy or both.

/cc @bradfitz

@rsc rsc added this to the Go1.8 milestone Nov 1, 2016
Copy link

@bradfitz bradfitz commented Nov 10, 2016

Same comment here as #17651 (comment)

I ran all these tests in a loop on Sierra (on my home iMac 5K) and can't reproduce.

Closing for now. Please reopen if you see any flake, though. I'm not content with any test being flaky.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.