]> Cypherpunks repositories - gostls13.git/commit
net/http/httputil: don't use testing.T after test completes
authorAndrew G. Morgan <agm@google.com>
Tue, 5 May 2020 00:50:17 +0000 (17:50 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 5 May 2020 03:40:39 +0000 (03:40 +0000)
commitb40c6580639beb1fd24bbf8cc50f4488c245c41b
treeddc040c8ae98f1568ad961e9997035761f2ae7a1
parent01a9cf8487df2b108f0dfd7060ff5ffbda972c3a
net/http/httputil: don't use testing.T after test completes

This fixes a race condition where
TestReverseProxyWebSocketCancelation appears to
panic after otherwise passing.

Fixes #38863

Change-Id: Ib89f4c40da879b92ac1fc5ed8b6e48da929e4a18
Reviewed-on: https://go-review.googlesource.com/c/go/+/232257
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/httputil/reverseproxy_test.go