From: Emmanuel Odeke Date: Sat, 29 Apr 2017 07:42:19 +0000 (-0600) Subject: net/http: enable TestRequestDoesntBodyCloseDoesntBlock X-Git-Tag: go1.9beta1~382 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cf1b323fc891664b2c72726db51933b6f75f5dac;p=gostls13.git 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 --- 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") }