mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
Several tests such as TestServerReceivePushStream are currently flaky. This is because the synctest test finishes before the test server finishes closing its QUIC endpoint. To prevent this flakiness, make sure that the server uses a canceled context when closing the QUIC endpoint, so as to not block. Fixes golang/go#78100 Fixes golang/go#78101 Fixes golang/go#78102 Change-Id: I88a257d68dfbcf4e1f18b600a2f11dfdabecb078 Reviewed-on: https://go-review.googlesource.com/c/net/+/754740 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicholas Husin <husin@google.com>