diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2025-10-09 20:58:34 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2025-10-10 15:58:20 -0700 |
| commit | e8a53538b473f1a7a92602675eda2d34f3887611 (patch) | |
| tree | 3f7908dd7a547939dc92fb288a0ab26e20e1636f /src/encoding | |
| parent | e3be2d1b2b68d960398a343805f77052d5decb22 (diff) | |
| download | go-e8a53538b473f1a7a92602675eda2d34f3887611.tar.xz | |
runtime: fail TestGoroutineLeakProfile on data race
Some of the programs in testdata/testgoroutineleakprofile have data
races because they were taken from a corpus that showcases general Go
concurrency bugs, not just leaked goroutines.
This causes some flakiness as tests might fail due to, for example, a
concurrent map access, even outside of race mode.
Let's just call data races a failure and fix them in the examples. As
far as I can tell, there are only two that show up consistently.
Fixes #75732.
Change-Id: I160b3a1cdce4c2de3f2320b68b4083292e02b557
Reviewed-on: https://go-review.googlesource.com/c/go/+/710756
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
