Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: TestDialTimeout failed "connection reset by peer" #13144
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.