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

@WanliTian WanliTian commented Nov 4, 2015

--- 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

This comment has been minimized.

Copy link
Author

@WanliTian WanliTian commented Nov 4, 2015

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

This comment has been minimized.

Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Nov 4, 2015

CC @mikioh

@mikioh

This comment has been minimized.

Copy link
Contributor

@mikioh 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 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
Linked pull requests

Successfully merging a pull request may close this issue.

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