]> Cypherpunks repositories - gostls13.git/commit
net/http: remove arbitrary timeout in TestServerAllowsBlockingRemoteAddr
authorBryan C. Mills <bcmills@google.com>
Wed, 8 Mar 2023 22:10:06 +0000 (17:10 -0500)
committerGopher Robot <gobot@golang.org>
Wed, 8 Mar 2023 23:17:17 +0000 (23:17 +0000)
commitd6fa0d2ef3fc29c38af2675d395a089cc73af996
tree6c348220f4a82af9328fb257ae8bf7310c8b3f1a
parent618fb4ab068272cc87b137d9fc527210be4b8ad2
net/http: remove arbitrary timeout in TestServerAllowsBlockingRemoteAddr

If the test actually deadlocks, we probably want a goroutine dump to
debug it anyway. Otherwise, the arbitrary timeout can only cause
spurious failures.

Fixes #36179.

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