Home | History | Annotate | Download | only in http2_interop
      1 package http2interop
      2 
      3 import (
      4 	"testing"
      5 )
      6 
      7 func TestSoonSmallMaxFrameSize(t *testing.T) {
      8 	defer Report(t)
      9 	if *testCase != "framing" {
     10 		t.SkipNow()
     11 	}
     12 	ctx := InteropCtx(t)
     13 	err := testSmallMaxFrameSize(ctx)
     14 	matchError(t, err, "Got goaway frame")
     15 }
     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 }
     27