diff options
author | Damien Neil <dneil@google.com> | 2021-08-03 19:38:37 -0700 |
---|---|---|
committer | Damien Neil <dneil@google.com> | 2021-08-04 15:26:45 +0000 |
commit | 6e738868a7a943d7d4fd6bb1963e7f6d78111726 (patch) | |
tree | ecc89b8dd672b2d44080a025a237ec13c42fda54 /src/runtime/mfinal.go | |
parent | 8a7ee4c51e992174d432ce0f40d9387a32d6ee4a (diff) | |
download | go-6e738868a7a943d7d4fd6bb1963e7f6d78111726.tar.gz go-6e738868a7a943d7d4fd6bb1963e7f6d78111726.zip |
net/http: speed up and deflake TestCancelRequestWhenSharingConnection
This test made many requests over the same connection for 10
seconds, trusting that this will exercise the request cancelation
race from #41600.
Change the test to exhibit the specific race in a targeted fashion
with only two requests.
Updates #41600.
Updates #47016.
Change-Id: If99c9b9331ff645f6bb67fe9fb79b8aab8784710
Reviewed-on: https://go-review.googlesource.com/c/go/+/339594
Trust: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Diffstat (limited to 'src/runtime/mfinal.go')
0 files changed, 0 insertions, 0 deletions