mirror of
https://github.com/golang/go
synced 2024-11-23 21:40:05 -07:00
net/http: skip TestClientTimeout_Headers_h{1,2} on windows/arm and windows/arm64
This extends the skip added in CL 375635 to the "_Headers" variant of the test, since we have observed similar failures in that variant on the builders. For #43120 Change-Id: Ib1c97fbb776b576271629272f3194da77913a941 Reviewed-on: https://go-review.googlesource.com/c/go/+/379156 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
ef4be98abd
commit
75bcdd5963
@ -1339,6 +1339,9 @@ func testClientTimeout_Headers(t *testing.T, h2 bool) {
|
||||
t.Error("net.Error.Timeout = false; want true")
|
||||
}
|
||||
if got := ne.Error(); !strings.Contains(got, "Client.Timeout exceeded") {
|
||||
if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
|
||||
testenv.SkipFlaky(t, 43120)
|
||||
}
|
||||
t.Errorf("error string = %q; missing timeout substring", got)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user