]> Cypherpunks repositories - gostls13.git/commit
testing, testing/synctest: report correct duration after panics
authorDamien Neil <dneil@google.com>
Fri, 23 May 2025 23:21:19 +0000 (16:21 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 30 May 2025 16:23:37 +0000 (09:23 -0700)
commit8cd7f17248b9215530e9ce9ed7831fc24b5eeef7
tree5c7b0544fac4e9ce9c8509dae733d354cf6ad81b
parent29782bd347a1c707b6804ea6ee7da3a70ba9fd4a
testing, testing/synctest: report correct duration after panics

Report the correct wall-clock test duration after handling a
panic in a synctest.Test bubble.

Fixes #73852

Change-Id: I053262e5eac2dd9d5938b17c3093cbc3fa115a0d
Reviewed-on: https://go-review.googlesource.com/c/go/+/676695
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/testing/synctest/synctest.go
src/testing/testing.go