aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2025-08-26 14:25:49 +0200
committerGopher Robot <gobot@golang.org>2025-08-29 10:57:46 -0700
commit1d459c4357e51e593ade896055db0fc794776143 (patch)
treea92aa91fbfb8f80bcbadee13885355f2fb8f3e33 /src/net/http
parent27ce6e4e2649f0db113f376d0d5f60185f3c74a3 (diff)
downloadgo-1d459c4357e51e593ade896055db0fc794776143.tar.xz
all: delete more windows/arm remnants
Updates #71671 Change-Id: I663c4a659ad45bcebfc03d6eb4783e5f5d3afa0d Reviewed-on: https://go-review.googlesource.com/c/go/+/699176 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/client_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/http/client_test.go b/src/net/http/client_test.go
index 8f88e29ad2..94fddb508e 100644
--- a/src/net/http/client_test.go
+++ b/src/net/http/client_test.go
@@ -1227,7 +1227,7 @@ func testClientTimeout(t *testing.T, mode testMode) {
t.Logf("timeout before response received")
continue
}
- if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
testenv.SkipFlaky(t, 43120)
}
t.Fatal(err)
@@ -1256,7 +1256,7 @@ func testClientTimeout(t *testing.T, mode testMode) {
t.Errorf("ReadAll error = %q; expected some context.DeadlineExceeded", err)
}
if got := ne.Error(); !strings.Contains(got, "(Client.Timeout") {
- if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
testenv.SkipFlaky(t, 43120)
}
t.Errorf("error string = %q; missing timeout substring", got)
@@ -1302,7 +1302,7 @@ func testClientTimeout_Headers(t *testing.T, mode testMode) {
t.Errorf("ReadAll error = %q; expected some context.DeadlineExceeded", err)
}
if got := ne.Error(); !strings.Contains(got, "Client.Timeout exceeded") {
- if runtime.GOOS == "windows" && strings.HasPrefix(runtime.GOARCH, "arm") {
+ if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" {
testenv.SkipFlaky(t, 43120)
}
t.Errorf("error string = %q; missing timeout substring", got)