-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version
)?
tip
- What operating system and processor architecture are you using (
go env
)?
linux/amd64
- What did you do?
run the crypto/tls tests. Occasionally, I get the error:
--- FAIL: TestDialTimeout (0.01s)
tls_test.go:192: resulting error not a timeout: dial tcp 127.0.0.1:49575: i/o timeout
The test used to detect whether an error is a timeout is to look for the string "timed out" in the error string. Maybe we should include "timeout" also?