From 7261619113b1f35fc9260a44b66bc1f9a13f142f Mon Sep 17 00:00:00 2001 From: Constantin Konstantinidis Date: Fri, 1 Nov 2019 15:46:47 +0100 Subject: [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 Reviewed-by: Brad Fitzpatrick (cherry picked from commit 1e4a358454987ef5104e45081c8e2ecdc9f32513) Reviewed-on: https://go-review.googlesource.com/c/go/+/223699 Run-TryBot: Alexander Rakoczy Reviewed-by: Alexander Rakoczy --- src/net/http/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-54-g00ecf