commit | db4efeb81f4bf3cc8fc2e2beaf2af9c7f7bebaad | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Dec 07 15:51:30 2021 -0800 |
committer | Damien Neil <dneil@google.com> | Wed Dec 08 01:23:54 2021 +0000 |
tree | 2ed9a3d331a2630418b9c710585660e75bcbfba0 | |
parent | 04296fa82e83b85317bd93ad50dd00460d6d7940 [diff] |
http2: deflake TestTransportGroupsPendingDials This test makes assumptions about the internal structure of *clientConnPool, as well as assuming that a goroutine will schedule and run within one second. The former assumption isn't necessary, and the latter causes flakiness. Refactor the test to count dial and close calls, which is all it needs to test the desired behavior (one pending dial per destination). Fixes golang/go#43176. Change-Id: I125b110f196e29f303960c6851089118f8fb5d38 Reviewed-on: https://go-review.googlesource.com/c/net/+/370175 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.