commit | 15e1b255657fc034cf76cbfc7c0c2a1e801c404d | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Oct 28 15:48:04 2022 -0700 |
committer | Damien Neil <dneil@google.com> | Fri Nov 04 22:13:06 2022 +0000 |
tree | 853b43a1d8de0f2b62ba471fde9b765c3e444348 | |
parent | 93ec86b443aeaa802c54667b4c038df88ca4ce25 [diff] |
http2: speed up TestTransportRetryHasLimit This test takes ~30s to execute with real timers, making it almost 50% of the total execution time of the http2 tests. Use a fake timer in tests. Change-Id: I750237c7d3b8f7b87881b8a0a8aff2bf4a3cdd9f Reviewed-on: https://go-review.googlesource.com/c/net/+/446375 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Damien Neil <dneil@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.