]> Cypherpunks repositories - gostls13.git/commit
runtime: remove an arbitrary timeout in TestProfBuf
authorBryan C. Mills <bcmills@google.com>
Fri, 15 Sep 2023 14:56:32 +0000 (10:56 -0400)
committerBryan Mills <bcmills@google.com>
Fri, 15 Sep 2023 20:04:56 +0000 (20:04 +0000)
commit98f05093638728e7c57c48f14ab4d56076118836
treec3f6fce451400c30e5a192de689eb29511d8146d
parent52fc777dcc342c000ac71d4da19047a2e02c27cb
runtime: remove an arbitrary timeout in TestProfBuf

The failure observed in
https://build.golang.org/log/766ad55d098ee1979ba1ae261e0813063567743e
appears to be spurious. If it is, this change will fix it.

If it is not, and somehow the Read has deadlocked,
then this change will help to diagnose it
(by causing the test to time out and dump its running goroutines).

For #56196.

Change-Id: Ic74f018384a64e95566a5b5d8126cbd59ab5e5fa
Reviewed-on: https://go-review.googlesource.com/c/go/+/528399
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/runtime/profbuf_test.go