Carl Mastrangelo | 368a304 | 2015-12-01 16:19:23 -0800 | [diff] [blame] | 1 | package http2interop |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | ) |
| 6 | |
Carl Mastrangelo | 3e21ba4 | 2015-12-04 16:49:33 -0800 | [diff] [blame] | 7 | func TestSoonSmallMaxFrameSize(t *testing.T) { |
| 8 | defer Report(t) |
| 9 | if *testCase != "framing" { |
Carl Mastrangelo | 368a304 | 2015-12-01 16:19:23 -0800 | [diff] [blame] | 10 | t.SkipNow() |
| 11 | } |
| 12 | ctx := InteropCtx(t) |
| 13 | err := testSmallMaxFrameSize(ctx) |
| 14 | matchError(t, err, "Got goaway frame") |
| 15 | } |
Carl Mastrangelo | 756beae | 2015-12-11 16:43:28 -0800 | [diff] [blame] | 16 | |
| 17 | func 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 | } |