diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2017-03-01 05:42:32 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-03-01 15:04:23 +0000 |
| commit | 3123df3464ff8df1d15452b51360e1b7f05dbcd3 (patch) | |
| tree | d903e90e594fb4aa5aacc1f14a00f50f1a7f097c /src/cmd/vendor/github.com/google | |
| parent | 6d32b1a3431dba378d22fa8b187ccfeab259cbe2 (diff) | |
| download | go-3123df3464ff8df1d15452b51360e1b7f05dbcd3.tar.xz | |
net/http: fix flaky TestClientRedirect308NoLocation
This was a t.Parallel test but it was using the global DefaultTransport
via the global Get func.
Use a private Transport that won't have its CloseIdleConnections etc
methods called by other tests.
(I hit this flake myself while testing a different change.)
Change-Id: If0665e3e8580ee198f8e5f3079bfaea55f036eca
Reviewed-on: https://go-review.googlesource.com/37624
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google')
0 files changed, 0 insertions, 0 deletions
