]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
runtime: add extra subtest layer to TestFinalizerOrCleanupDeadlock
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 10 Dec 2025 02:35:15 +0000 (02:35 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 11 Dec 2025 20:30:44 +0000 (12:30 -0800)
commit245bcdd478a8481b8c94b57d9234d3e4bf1b76b6
treef45a3583d4a733a4fc8176f73af99afa6ca45942
parentae62a1bd365fca4c41d8b29d62cca240ab45b212
runtime: add extra subtest layer to TestFinalizerOrCleanupDeadlock

Currently TestFinalizerOrCleanupDeadlock runs a bunch of tests for both
cleanups and finalizers. However, it doesn't actually distinguish these
two cases in the subtest names. This change adds another layer of
subtest to distinguish them.

For #76523.

Change-Id: I18c2857e970cde43c18cbbcbc44e4d4ada3b2628
Reviewed-on: https://go-review.googlesource.com/c/go/+/728821
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Bypass: Michael Knyszek <mknyszek@google.com>
src/runtime/crash_test.go