]> Cypherpunks repositories - gostls13.git/commit
testing: remove tests from the running log while they are waiting on parallel subtests
authorBryan C. Mills <bcmills@google.com>
Wed, 29 Nov 2023 21:13:07 +0000 (16:13 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 30 Nov 2023 16:41:22 +0000 (16:41 +0000)
commit76d90a34dd39b3e218e4c201d4497dca09c1cd6f
treee1c196693df077d320ee5d1aaade9e3612540ac0
parentb4fa5b163df118b35a836bbe5706ac268b4cc14b
testing: remove tests from the running log while they are waiting on parallel subtests

The parallel subtests are themselves removed from the running map
while they are blocked on calls to t.Parallel, so it is misleading to
log their parents as if they are running when we know they cannot be
making any kind of meaningful progress.

Fixes #64404.

Change-Id: Iaad11d5d4f4c86d775d36e5285c49629dccddd74
Reviewed-on: https://go-review.googlesource.com/c/go/+/546018
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/testing/testing.go
src/testing/testing_test.go