diff options
author | Constantin Konstantinidis <constantinkonstantinidis@gmail.com> | 2019-11-01 15:46:47 +0100 |
---|---|---|
committer | Dmitri Shuralyov <dmitshur@golang.org> | 2020-03-31 23:01:29 +0000 |
commit | 7261619113b1f35fc9260a44b66bc1f9a13f142f (patch) | |
tree | e4f502c77f0b13b1f3536783cf7671e2b6728244 | |
parent | 6fcea1e380ae5b9a7a1c78be2830c335ee994193 (diff) | |
download | go-7261619113b1f35fc9260a44b66bc1f9a13f142f.tar.gz go-7261619113b1f35fc9260a44b66bc1f9a13f142f.zip |
[release-branch.go1.13] net/http: deflake TestCancelRequestWithChannelBeforeDo_Cancel
Goroutines clean up takes longer when using deprecated CloseNotifier.
For #35122.
Fixes #37892.
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>
(cherry picked from commit 1e4a358454987ef5104e45081c8e2ecdc9f32513)
Reviewed-on: https://go-review.googlesource.com/c/go/+/223699
Run-TryBot: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
-rw-r--r-- | src/net/http/main_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/main_test.go b/src/net/http/main_test.go index 7936fb3044..85aa9096c3 100644 --- a/src/net/http/main_test.go +++ b/src/net/http/main_test.go @@ -122,7 +122,7 @@ func afterTest(t testing.TB) { ").noteClientGone(": "a closenotifier sender", } var stacks string - for i := 0; i < 4; i++ { + for i := 0; i < 10; i++ { bad = "" stacks = strings.Join(interestingGoroutines(), "\n\n") for substr, what := range badSubstring { |