]> Cypherpunks repositories - gostls13.git/commit
net/http: use synctest.Test rather than Run
authorDamien Neil <dneil@google.com>
Wed, 21 May 2025 20:24:49 +0000 (13:24 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 21 May 2025 23:06:11 +0000 (16:06 -0700)
commita473a0dbc48e9c2f08408e1736d40b6f660eb34b
tree0ed4747c1435dbd4d75eab5d8099eeccf770b702
parent3cc8b532f9d561397dd0c66496e1e1a82667c926
net/http: use synctest.Test rather than Run

Use the non-experimental Test function.
As a bonus, this lets us drop the hacks we were doing to support
t.Cleanup inside bubbles.

Change-Id: I070624e1384494e9d5fcfee594cfbb7680c1beda
Reviewed-on: https://go-review.googlesource.com/c/go/+/675315
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
src/net/http/clientserver_test.go
src/net/http/serve_test.go
src/net/http/transport_test.go