Commit e1ec361
http2: fix race in TestCanonicalHeaderCacheGrowth
As Damien found in the 2nd patch set of CL 455736 and CL 455735,
disableGoroutineTracking is racy (but only called by benchmarks
that don't care); set the serverConn.serveG in the test instead.
Fixes golang/go#57218.
Change-Id: I5e39be3c7fbac93260a26951491863b06b39d672
Reviewed-on: https://go-review.googlesource.com/c/net/+/456523
Run-TryBot: Dmitri Shuralyov <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>1 parent 1e63c2f commit e1ec361
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4547 | 4547 | | |
4548 | 4548 | | |
4549 | 4549 | | |
4550 | | - | |
4551 | 4550 | | |
4552 | 4551 | | |
4553 | | - | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
4554 | 4555 | | |
4555 | 4556 | | |
4556 | 4557 | | |
| |||
0 commit comments