1
0
mirror of https://github.com/golang/go synced 2024-10-02 08:18:32 -06: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 testing/iotest: fix NewReadLogger documentation typo 2017-10-19 15:59:21 +00:00
quick doc: mention testing/quick RNG seeding change in Go 1.9 notes 2017-06-27 22:41:49 +00:00
allocs_test.go
allocs.go
benchmark_test.go
benchmark.go testing: remove claim that b.Run is safe for concurrent use 2017-12-01 00:24:53 +00:00
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 testing: add TB.Helper to better support test helpers 2017-04-14 16:47:25 +00:00
helperfuncs_test.go testing: add TB.Helper to better support test helpers 2017-04-14 16:47:25 +00:00
match_test.go testing: harmonize handling of prefix-matched benchmarks 2017-06-20 14:19:05 +00:00
match.go testing: fix typo mistake 2018-04-27 13:29:12 +00:00
sub_test.go testing: gracefully handle subtest failing parent’s T 2018-03-01 10:17:22 +00:00
testing_test.go
testing.go testing: fix racey access to t.failed 2018-05-02 17:51:26 +00:00