commit | d8870b0bf2f2426fc8d19a9332f652da5c25418f | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Mon Mar 18 13:51:41 2024 -0700 |
committer | Damien Neil <dneil@google.com> | Wed Mar 20 17:25:32 2024 +0000 |
tree | 21c95333381e11989ef0c5af32c1bd9f80a1902f | |
parent | d73acffdc9493532acb85777105bb4a351eea702 [diff] |
http2: use synthetic time in TestIdleConnTimeout Rewrite TestIdleConnTimeout to use the new synthetic time and synchronization test facilities, rather than using real time and sleeps. Reduces the test time from 20 seconds to 0. Reduces all package tests on my laptop from 32 seconds to 12. Change-Id: I33838488168450a7acd6a462777b5a4caf7f5307 Reviewed-on: https://go-review.googlesource.com/c/net/+/572379 Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
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.