diff options
| author | Damien Neil <dneil@google.com> | 2025-12-01 12:28:19 -0800 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2025-12-01 13:35:16 -0800 |
| commit | 8b5db48db11f6ec075fd1ea528a5d611579c3a0d (patch) | |
| tree | 590600cf2c161f86d412382935f7959491c9c428 /src/runtime/testdata | |
| parent | 94616dad425959b92d50498e1a18e47e5e6c8709 (diff) | |
| download | go-8b5db48db11f6ec075fd1ea528a5d611579c3a0d.tar.xz | |
net/http: deflake TestClientConnReserveAndConsume
This test includes an assertion that a client conn's state hook
is called exactly once, but some of the test cases can result in
two events occurring: A request completes and a connection closes.
Change the assertion to just check that the hook is called
at least once.
Fixes #76480
Change-Id: Ie1438581b072b10623eb3d5fe443294a639c9853
Reviewed-on: https://go-review.googlesource.com/c/go/+/725601
Commit-Queue: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Nicholas Husin <husin@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
TryBot-Bypass: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
