]> Cypherpunks repositories - gostls13.git/commit
reflect: remove timeout in TestChanOfGC
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 9 Oct 2025 21:13:59 +0000 (21:13 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 9 Oct 2025 21:34:31 +0000 (14:34 -0700)
commit80f3bb5516bb12233a15167bc8ba9d39cca5b535
treeb940393196381a0693b4c0aa42b74e4c7957f5d0
parent9db7e30bb42eed9912f5e7e9e3959f3b38879d5b
reflect: remove timeout in TestChanOfGC

This test has an arbitrary 5 second timeout, and this seems to fire on
Darwin with mayMoreStackMove enabled (which is slow). Just rely on the
regular test timeout instead of this arbitrary shorter timeout to
eliminate the possibility that the test is just too slow.

On my Linux VM, I can get this test to take up to 2 seconds with
mayMoreStackMove set on all the same packages dist does, so this failure
mode is actually plausible.

Fixes #75742.

Change-Id: Iebcc859cab26e9205b57b869690162a9a424dfce
Reviewed-on: https://go-review.googlesource.com/c/go/+/710618
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
src/reflect/all_test.go