aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/transport_test.go
diff options
context:
space:
mode:
authorConstantin Konstantinidis <constantinkonstantinidis@gmail.com>2019-11-01 15:46:47 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2019-11-02 03:00:20 +0000
commit1e4a358454987ef5104e45081c8e2ecdc9f32513 (patch)
tree9082fb2f234dda1a473e53618bc9429e2701d232 /src/net/http/transport_test.go
parentdc39be8b858ab0ef49ff7d87f3d4c5cb93403f1a (diff)
downloadgo-1e4a358454987ef5104e45081c8e2ecdc9f32513.tar.gz
go-1e4a358454987ef5104e45081c8e2ecdc9f32513.zip
net/http: deflake TestCancelRequestWithChannelBeforeDo_Cancel
Goroutines clean up takes longer when using deprecated CloseNotifier. Fixes #35122 Change-Id: Id820a3012b5c781ddfb294b38ee3b009624e398c Reviewed-on: https://go-review.googlesource.com/c/go/+/204661 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> 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, 0 insertions, 4 deletions
diff --git a/src/net/http/transport_test.go b/src/net/http/transport_test.go
index 0d63e46d4f..00d6b2608b 100644
--- a/src/net/http/transport_test.go
+++ b/src/net/http/transport_test.go
@@ -22,7 +22,6 @@ import (
"fmt"
"go/token"
"internal/nettrace"
- "internal/testenv"
"io"
"io/ioutil"
"log"
@@ -2355,9 +2354,6 @@ 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) {