go/src/testing
Bryan C. Mills 8c17505da7 testing: in TestRacyOutput, ensure that the Run calls complete before cleanup
Also tweak the failure message added in CL 352349.

Updates #18741.
Updates #48515.

Change-Id: I46ed84c6f498d7a68414cc3dab3c1cd55da69aa9
Reviewed-on: https://go-review.googlesource.com/c/go/+/451215
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Changkun Ou <mail@changkun.de>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-16 17:22:19 +00:00
..
fstest
internal/testdeps
iotest
quick
allocs.go
allocs_test.go
benchmark.go testing: Document RunParallel ns/op behavior 2022-11-07 10:44:33 +00:00
benchmark_test.go testing: add an example showcasing B.RunParallel with B.ReportMetric 2022-10-07 17:49:17 +00:00
cover.go cmd/go: support new hybrid coverage instrumentation 2022-09-28 11:50:58 +00:00
example.go testing: fix many test2json inaccuracies 2022-10-26 19:50:36 +00:00
export_test.go
flag_test.go testing: add Get method for -test.v option 2022-11-03 23:43:04 +00:00
fuzz.go testing: implement -cpu and -count for fuzz tests 2022-11-02 13:14:08 +00:00
helper_test.go cmd/go, testing: add go test -skip flag 2022-09-16 14:48:54 +00:00
helperfuncs_test.go
match.go cmd/go, testing: add go test -skip flag 2022-09-16 14:48:54 +00:00
match_test.go cmd/go, testing: add go test -skip flag 2022-09-16 14:48:54 +00:00
newcover.go runtime/coverage: improve unit tests 2022-09-29 14:13:26 +00:00
panic_test.go testing: in TestRacyOutput, ensure that the Run calls complete before cleanup 2022-11-16 17:22:19 +00:00
run_example.go testing: fix many test2json inaccuracies 2022-10-26 19:50:36 +00:00
run_example_js.go testing: fix many test2json inaccuracies 2022-10-26 19:50:36 +00:00
sub_test.go testing: in TestRacyOutput, ensure that the Run calls complete before cleanup 2022-11-16 17:22:19 +00:00
testing.go testing: in TestRacyOutput, ensure that the Run calls complete before cleanup 2022-11-16 17:22:19 +00:00
testing_other.go
testing_test.go testing: fail if T.Setenv is called via T.Run in a parallel test 2022-09-28 17:18:17 +00:00
testing_windows.go