aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/transport_test.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-10-25 14:07:10 -0400
committerBryan C. Mills <bcmills@google.com>2019-10-25 18:45:21 +0000
commit8bb47a5eecf57b88c1b9cc088a21ae869c6a6764 (patch)
treeba3034f17da16100e7407334df3de6cec0644a3f /src/net/http/transport_test.go
parent096126de6b33a0c7831aebcdde00081876991438 (diff)
downloadgo-8bb47a5eecf57b88c1b9cc088a21ae869c6a6764.tar.gz
go-8bb47a5eecf57b88c1b9cc088a21ae869c6a6764.zip
net/http: skip failing test on windows-amd64-longtest builder
bradfitz is actively thinking about a proper fix. In the meantime, skip the test to suss out any other failures in the builder. Updates #35122 Change-Id: I9bf0640222e3d385c1a3e2be5ab52b80d3e8c21a Reviewed-on: https://go-review.googlesource.com/c/go/+/203500 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http/transport_test.go')
-rw-r--r--src/net/http/transport_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/http/transport_test.go b/src/net/http/transport_test.go
index f76530b8fa..3673ed29f0 100644
--- a/src/net/http/transport_test.go
+++ b/src/net/http/transport_test.go
@@ -22,6 +22,7 @@ import (
"fmt"
"go/token"
"internal/nettrace"
+ "internal/testenv"
"io"
"io/ioutil"
"log"
@@ -2354,6 +2355,9 @@ func TestCancelRequestWithChannel(t *testing.T) {
}
func TestCancelRequestWithChannelBeforeDo_Cancel(t *testing.T) {
+ if os.Getenv("GO_BUILDER_NAME") == "windows-amd64-longtest" {
+ testenv.SkipFlaky(t, 35122)
+ }
testCancelRequestWithChannelBeforeDo(t, false)
}
func TestCancelRequestWithChannelBeforeDo_Context(t *testing.T) {