mirror of https://github.com/golang/go.git
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
This commit is contained in:
parent
aaecd755d7
commit
c4792e60f3
|
|
@ -814,7 +814,6 @@ func testServerNoReadTimeout(t *testing.T, mode testMode) {
|
|||
res.Write([]byte(resBody))
|
||||
}), func(ts *httptest.Server) {
|
||||
ts.Config.ReadTimeout = timeout
|
||||
ts.Config.IdleTimeout = 10 * time.Millisecond
|
||||
t.Logf("Server.Config.ReadTimeout = %d", timeout)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue