]> Cypherpunks repositories - gostls13.git/commit
net/http: remove five second timeout from TestTransportClosesBodyOnError
authorDamien Neil <dneil@google.com>
Thu, 26 Jan 2023 21:16:26 +0000 (13:16 -0800)
committerDamien Neil <dneil@google.com>
Fri, 17 Feb 2023 23:54:47 +0000 (23:54 +0000)
commit7e5906a57d92e8afe8a6bb3f5d4c19d0e920ab9a
tree0ed1de449fb4d01a863db5f03be15553efba51aa
parentd49719b1f75ea745937bdbc09ae5927c5378780b
net/http: remove five second timeout from TestTransportClosesBodyOnError

Wait forever and let the test time out with a stack trace if the
expected response doesn't happen.

Fixes #57990

Change-Id: I835def63db113752cdd06e03e258cb10d63a6a25
Reviewed-on: https://go-review.googlesource.com/c/go/+/463222
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/net/http/transport_test.go