]> Cypherpunks repositories - gostls13.git/commit
net: remove an arbitrary timeout in TestAcceptTimeoutMustReturn
authorBryan C. Mills <bcmills@google.com>
Mon, 11 Dec 2023 21:14:24 +0000 (16:14 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 11 Dec 2023 23:01:52 +0000 (23:01 +0000)
commitf4ff0e25054d1159396cc1d9252f1e94021ce46c
tree735dbe9cf52bd581d83ea7a64a479c0a51ba49d5
parenta839ec1e73c25d47cc329e93b9508fb53277bdd2
net: remove an arbitrary timeout in TestAcceptTimeoutMustReturn

This probably fixes the failure mode seen in
https://build.golang.org/log/e73acfd930cbe82302505cac0041d9883e2360c5.

If not, allowing the test to deadlock and dump goroutines
should produce better debugging information than the existing
"didn't return in an expected time" failure message.

For #58901.

Change-Id: Ie0bb1887a4329d2f6b0e7348a4820af71385494e
Reviewed-on: https://go-review.googlesource.com/c/go/+/548881
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/net/timeout_test.go