]> Cypherpunks repositories - gostls13.git/commit
net/http: fix scheduling race resulting in flaky test
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 30 Apr 2015 22:00:51 +0000 (15:00 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 1 May 2015 21:41:03 +0000 (21:41 +0000)
commitc723230e4a1ddb30b4822de8f795c16fd9aa90ff
treed52c769b3cffaaaa7f94a6f180f37794959a5890
parent80cedf3e8f912d7d7defd8e0495c6fd67d229555
net/http: fix scheduling race resulting in flaky test

The test was measuring something, assuming other goroutines had
already scheduled.

Fixes #10427

Change-Id: I2a4d3906f9d4b5ea44b57d972e303bbe2b0b1cde
Reviewed-on: https://go-review.googlesource.com/9561
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/export_test.go
src/net/http/transport.go
src/net/http/transport_test.go