1
0
mirror of https://github.com/golang/go synced 2024-10-03 03:01:21 -06:00
go/src/testing
Joe Tsai 7f31971f59 testing: synchronize writes to the root's Writer
Prior to this change it was possible to see interleaved messages:
<<<
=== RUN   Test/LongLongLongLongName48
=== RUN   Test/LongLon=== RUN   Test/LongLongLongLongName50
gLongLongName49
=== RUN   Test/LongLongLongLongName51
>>>

This change fixes it such that you see:
<<<
=== RUN   Test/LongLongLongLongName48
=== RUN   Test/LongLongLongLongName49
=== RUN   Test/LongLongLongLongName50
=== RUN   Test/LongLongLongLongName51
>>>

Fixes #18741

Change-Id: I2529d724065dc65b3e9eb3d7cbeeda82a2d0cfd4
Reviewed-on: https://go-review.googlesource.com/35556
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
2017-02-01 19:27:39 +00:00
..
internal/testdeps testing: introduce testing/internal/testdeps for holding testmain dependencies 2016-11-02 19:14:39 +00:00
iotest all: single space after period. 2016-03-02 00:13:47 +00:00
quick all: freeze net/rpc and reword the 'frozen' message in other frozen packages 2016-10-26 16:11:07 +00:00
allocs_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
allocs.go all: single space after period. 2016-03-02 00:13:47 +00:00
benchmark_test.go
benchmark.go testing: make parallel t.Run safe again 2017-01-18 07:44:24 +00:00
cover.go
example.go cmd/go, testing: indicate when no tests are run 2016-10-19 02:34:44 +00:00
export_test.go
match_test.go testing: fix vet warning 2016-05-12 16:22:42 +00:00
match.go testing: add matching of subtest 2016-04-21 19:58:31 +00:00
sub_test.go testing: synchronize writes to the root's Writer 2017-02-01 19:27:39 +00:00
testing_test.go Revert "testing: add T.Context method" 2016-12-09 04:04:11 +00:00
testing.go testing: synchronize writes to the root's Writer 2017-02-01 19:27:39 +00:00