1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:54:43 -07:00
go/src/testing
Anmol Sethi eff1e68528 testing: fix racey access to t.failed
We need to grab the mutex before we can access it.

Fixes #24438

Change-Id: Idd6130036691acec5bc5f8b40d6884f8db1d9d3c
Reviewed-on: https://go-review.googlesource.com/101283
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-05-02 17:51:26 +00:00
..
internal/testdeps runtime/pprof: introduce "allocs" profile 2018-04-24 16:11:41 +00:00
iotest
quick
allocs_test.go
allocs.go
benchmark_test.go
benchmark.go
cover.go
example.go all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00
export_test.go
helper_test.go
helperfuncs_test.go
match_test.go
match.go testing: fix typo mistake 2018-04-27 13:29:12 +00:00
sub_test.go
testing_test.go
testing.go testing: fix racey access to t.failed 2018-05-02 17:51:26 +00:00