Skip to content

Commit c4792e6

Browse files
panjf2000odeke-em
authored andcommitted
net/http: eliminate the needless idle timeout for TestServerNoReadTimeout
Change-Id: I1339749bfeac99848beca780cebb9c87564da656 Reviewed-on: https://go-review.googlesource.com/c/go/+/573335 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]> Reviewed-by: David Chase <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]>
1 parent aaecd75 commit c4792e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/net/http/serve_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,6 @@ func testServerNoReadTimeout(t *testing.T, mode testMode) {
814814
res.Write([]byte(resBody))
815815
}), func(ts *httptest.Server) {
816816
ts.Config.ReadTimeout = timeout
817-
ts.Config.IdleTimeout = 10 * time.Millisecond
818817
t.Logf("Server.Config.ReadTimeout = %d", timeout)
819818
})
820819

0 commit comments

Comments
 (0)