From cf1b323fc891664b2c72726db51933b6f75f5dac Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Sat, 29 Apr 2017 01:42:19 -0600 Subject: [PATCH] net/http: enable TestRequestDoesntBodyCloseDoesntBlock Fixes #7121. CL 31173 inadvertently fixed this issue in the Go1.8 cycle. This CL enables the test for that issue. Change-Id: I8e73b41f646fa89c75bff833c1b07e1cdb2b1e62 Reviewed-on: https://go-review.googlesource.com/42149 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/net/http/serve_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/serve_test.go b/src/net/http/serve_test.go index 0a7459a0dc..5b384190b2 100644 --- a/src/net/http/serve_test.go +++ b/src/net/http/serve_test.go @@ -3702,8 +3702,8 @@ func testTransportAndServerSharedBodyRace(t *testing.T, h2 bool) { // Test that a hanging Request.Body.Read from another goroutine can't // cause the Handler goroutine's Request.Body.Close to block. +// See issue 7121. func TestRequestBodyCloseDoesntBlock(t *testing.T) { - t.Skipf("Skipping known issue; see golang.org/issue/7121") if testing.Short() { t.Skip("skipping in -short mode") } -- 2.48.1