blob: 063fd5664c89f03b885cf24a87a60fa4bfdce186 [file] [log] [blame]
Carl Mastrangelo368a3042015-12-01 16:19:23 -08001package http2interop
2
3import (
4 "testing"
5)
6
Carl Mastrangelo3e21ba42015-12-04 16:49:33 -08007func TestSoonSmallMaxFrameSize(t *testing.T) {
8 defer Report(t)
9 if *testCase != "framing" {
Carl Mastrangelo368a3042015-12-01 16:19:23 -080010 t.SkipNow()
11 }
12 ctx := InteropCtx(t)
13 err := testSmallMaxFrameSize(ctx)
14 matchError(t, err, "Got goaway frame")
15}
Carl Mastrangelo756beae2015-12-11 16:43:28 -080016
17func TestSoonAllSettingsFramesAcked(t *testing.T) {
18 defer Report(t)
19 if *testCase != "framing" {
20 t.SkipNow()
21 }
22 ctx := InteropCtx(t)
23 if err := testAllSettingsFramesAcked(ctx); err != nil {
24 t.Fatal(err)
25 }
26}