-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/net/http2: TestTransportGroupsPendingDials failures with "conns = …; want empty" #43176
Comments
I think this failure indicates a real (but perhaps minor?) bug in From its documentation, I would expect |
Filed #50027 for the suspected real bug, which is more-or-less orthogonal to the purpose of the test. I think we can make the test less flaky by reducing its expectations regarding connection idleness. |
Change https://golang.org/cl/369936 mentions this issue: |
Change https://golang.org/cl/370175 mentions this issue: |
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 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>
2020-12-09T12:38:23-ac852fb/dragonfly-amd64-5_8
2020-12-02T16:19:06-c7110b5/dragonfly-amd64-5_8
2020-11-10T03:11:24-69a7880/dragonfly-amd64
2020-11-10T03:11:24-69a7880/dragonfly-amd64-5_8
2020-10-29T05:33:32-8adf50f/dragonfly-amd64-5_8
2020-10-22T23:12:55-08b3837/dragonfly-amd64-5_8
2020-10-08T22:28:04-59f7323/dragonfly-amd64
2020-10-06T15:34:59-a7d1128/dragonfly-amd64-5_8
2020-10-02T20:24:02-0a1ea39/dragonfly-amd64
2020-10-02T20:24:02-0a1ea39/dragonfly-amd64-5_8
2020-09-30T14:50:03-4acb6c0/dragonfly-amd64-5_8
2020-09-23T18:22:12-328152d/dragonfly-amd64-5_8
2020-09-04T19:48:48-62affa3/dragonfly-amd64
2020-05-20T18:23:14-0ba52f6/dragonfly-amd64-5_8
2020-05-19T11:38:04-d87ec0c/dragonfly-amd64
2020-05-19T11:38:04-d87ec0c/dragonfly-amd64-5_8
CC @bradfitz @ianlancetaylor (for CL 17134), @tombergan @empijei @fraenkel @neild for
net/http2
.The text was updated successfully, but these errors were encountered: