We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e63c2f commit e1ec361Copy full SHA for e1ec361
http2/server_test.go
@@ -4547,10 +4547,11 @@ func TestServerInitialFlowControlWindow(t *testing.T) {
4547
// TestCanonicalHeaderCacheGrowth verifies that the canonical header cache
4548
// size is capped to a reasonable level.
4549
func TestCanonicalHeaderCacheGrowth(t *testing.T) {
4550
- defer disableGoroutineTracking()()
4551
for _, size := range []int{1, (1 << 20) - 10} {
4552
base := strings.Repeat("X", size)
4553
- sc := &serverConn{}
+ sc := &serverConn{
+ serveG: newGoroutineLock(),
4554
+ }
4555
const count = 1000
4556
for i := 0; i < count; i++ {
4557
h := fmt.Sprintf("%v-%v", base, i)
0 commit comments