]> Cypherpunks repositories - gostls13.git/commit
net/http: improve errors in TestCancelRequestWhenSharingConnection
authorDamien Neil <dneil@google.com>
Wed, 14 Dec 2022 23:49:58 +0000 (15:49 -0800)
committerGopher Robot <gobot@golang.org>
Fri, 16 Dec 2022 17:12:28 +0000 (17:12 +0000)
commitf4b42f5cb8b494a2b64a4ade89f89071d80c7fd3
tree4402a58c25ec872e882182a61040e3325b47cbcd
parent24ac659a395b2ef6c3877e82de15bed8e13fa40a
net/http: improve errors in TestCancelRequestWhenSharingConnection

Provide more information about why this test might be hanging waiting
for PutIdleConn to be called (#56587): If the round trip that should
result in PutIdleConn being invoked completes, report that to the
goroutine waiting for PutIdleConn.

For #56587

Change-Id: Ie476ea0ce4a48d2bda6b9b109f89d675a10e7e45
Reviewed-on: https://go-review.googlesource.com/c/go/+/457775
Auto-Submit: Damien Neil <dneil@google.com>
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