aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/abi_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/abi_test.go')
-rw-r--r--src/runtime/abi_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/abi_test.go b/src/runtime/abi_test.go
index af187fc7a8..5f8e44a171 100644
--- a/src/runtime/abi_test.go
+++ b/src/runtime/abi_test.go
@@ -66,6 +66,9 @@ func TestFinalizerRegisterABI(t *testing.T) {
runtime.GC()
runtime.GC()
+ // Make sure the finalizer goroutine is running.
+ runtime.SetFinalizer(new(TintPointer), func(_ *TintPointer) {})
+
// fing will only pick the new IntRegArgs up if it's currently
// sleeping and wakes up, so wait for it to go to sleep.
success := false