]> Cypherpunks repositories - gostls13.git/commit
internal/trace: run children in race mode during race testing
authorMichael Pratt <mpratt@google.com>
Fri, 9 Feb 2024 19:06:39 +0000 (14:06 -0500)
committerGopher Robot <gobot@golang.org>
Fri, 9 Feb 2024 20:17:00 +0000 (20:17 +0000)
commit644bc4a3e7095789843438648badb82a9a78abef
tree8cb084817a922fe2867100bd59e881f1da352f7f
parent09c62a86a96e51d535336de1c7b7e10cd3acd849
internal/trace: run children in race mode during race testing

This would have caught #65607.

On my machine:

internal/trace/v2:               ~13s
internal/trace/v2: -short:        ~4s
internal/trace/v2: -race -short: ~20s
internal/trace/v2: -race:        ~46s

For #65607.

Change-Id: I03a555ebaf8c761c98a82b6d35fa16d7a99aa9e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/562998
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/internal/trace/v2/trace_test.go