You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
469 B
27 lines
469 B
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)
|
|
}
|
|
}
|