]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: skip TestClientTimeout_Headers_h{1,2} on windows/arm and windows/arm64
authorBryan C. Mills <bcmills@google.com>
Tue, 18 Jan 2022 17:21:18 +0000 (12:21 -0500)
committerBryan Mills <bcmills@google.com>
Tue, 18 Jan 2022 18:56:51 +0000 (18:56 +0000)
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>
src/net/http/client_test.go

index ea59f68f35f6b4813d803066710ec82720fe8656..e91d5268244db8a66d94f9c33f4cc6eadec5e8f2 100644 (file)
@@ -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)
        }
 }