You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I can't reproduce but I sent https://go-review.googlesource.com/20403 which at least also still passes for me and will fail with more info if it continues to flake for you.
Don't do a substring search to test for a timeout error.
Fixesgolang#14722 (maybe)
Change-Id: I4e18c749d6fd92c084a1b0b83a805119e1ae5ff2
Reviewed-on: https://go-review.googlesource.com/20403
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Don't do a substring search to test for a timeout error.
Fixesgolang#14722 (maybe)
Change-Id: I4e18c749d6fd92c084a1b0b83a805119e1ae5ff2
Reviewed-on: https://go-review.googlesource.com/20403
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Please answer these questions before submitting your issue. Thanks!
go version
)?tip
go env
)?linux/amd64
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?
The text was updated successfully, but these errors were encountered: