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: TestDialTimeoutMaxDuration fails with "Dial didn't return in an expected time" #15745

mikioh opened this issue May 19, 2016 · 1 comment


Copy link

@mikioh mikioh commented May 19, 2016

For example,

go test -short -count=100 net
--- FAIL: TestDialTimeoutMaxDuration (0.10s)
    timeout_test.go:143: #1: Dial didn't return in an expected time
FAIL    net 211.917s

and we see sometimes it happens on buildbots. It just waits 100ms but probably a bit short for some case. Probably extending the deadline by 250ms, which is the maximum wait duration in TestReadTimeoutFluctuation and TestReadFromTimeoutFluctuation, makes sense.

@mikioh mikioh added the Testing label May 19, 2016
@mikioh mikioh added this to the Go1.7Maybe milestone May 19, 2016
Copy link

@gopherbot gopherbot commented May 19, 2016

CL mentions this issue.

@gopherbot gopherbot closed this in 9cd2c70 May 20, 2016
@golang golang locked and limited conversation to collaborators May 20, 2017
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
2 participants
You can’t perform that action at this time.