aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2023-08-24 10:58:51 -0700
committerDamien Neil <dneil@google.com>2023-08-25 16:50:37 +0000
commit92bbecc518533867a9bb381e261196111db2dd80 (patch)
treecbd9b991615c87f7871ae5835abc3330f4953cd3 /src/runtime/testdata
parent611c3af30d5c7d17c8da3712cd23152c7f0f52ef (diff)
downloadgo-92bbecc518533867a9bb381e261196111db2dd80.tar.xz
net/http: deflake TestRequestBodyLimit
This test can return with a Transport still processing an in-flight request, resulting in a test failure due to the leaked Transport. Avoid this by waiting for the Transport to close the request body before returning. Fixes #60264 Change-Id: I8d8b54f633c2e28da2b1bf1bc01ce09dd77769de Reviewed-on: https://go-review.googlesource.com/c/go/+/522695 Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions