aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/http2_interop/s6.5_test.go
blob: 063fd5664c89f03b885cf24a87a60fa4bfdce186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package http2interop

import (
	"testing"
)

func TestSoonSmallMaxFrameSize(t *testing.T) {
	defer Report(t)
	if *testCase != "framing" {
		t.SkipNow()
	}
	ctx := InteropCtx(t)
	err := testSmallMaxFrameSize(ctx)
	matchError(t, err, "Got goaway frame")
}

func TestSoonAllSettingsFramesAcked(t *testing.T) {
	defer Report(t)
	if *testCase != "framing" {
		t.SkipNow()
	}
	ctx := InteropCtx(t)
	if err := testAllSettingsFramesAcked(ctx); err != nil {
		t.Fatal(err)
	}
}