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: TestDialTimeout failed "connection reset by peer" #13144

Closed
WanliTian opened this issue Nov 4, 2015 · 3 comments
Closed

net: TestDialTimeout failed "connection reset by peer" #13144

WanliTian opened this issue Nov 4, 2015 · 3 comments
Milestone

Comments

@WanliTian
Copy link

--- FAIL: TestDialTimeout (0.01s)
dial_test.go:108: got error "dial tcp 127.0.0.1:21743: connection reset by peer"; not a timeout
FAIL
FAIL net 1.989s

@WanliTian
Copy link
Author

go 1.4.3
centos 6.3

@ianlancetaylor ianlancetaylor changed the title install error[net] net: TestDialTimeout failed "connection reset by peer" Nov 4, 2015
@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Nov 4, 2015
@ianlancetaylor
Copy link
Contributor

CC @mikioh

@mikioh
Copy link
Contributor

mikioh commented Nov 26, 2015

Sorry, I cannot assume what happened exactly because that test case is not written by me, although we fixed that sort of flakiness in go1.5. IIRC, test cases in go1.4 and below have two problems: no care about interference btw tester goroutines and insanely dependance on the protocol stack inside kernel.

Please try go1.5 and above, and feel free to reopen this issue if you see the same error in go1.5 and above. Thanks.

@mikioh mikioh closed this as completed Nov 26, 2015
@golang golang locked and limited conversation to collaborators Nov 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants