1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:24:41 -07:00

http/spdy: temporarily disable some failing tests

Issue 1886 has details

R=golang-dev, willchan
CC=golang-dev
https://golang.org/cl/4527083
This commit is contained in:
Brad Fitzpatrick 2011-05-27 10:08:31 -07:00
parent 406d73876d
commit b88be14982

View File

@ -371,6 +371,12 @@ func TestCreateParseDataFrame(t *testing.T) {
}
func TestCompressionContextAcrossFrames(t *testing.T) {
{
// TODO(willchan,bradfitz): test is temporarily disabled
t.Logf("test temporarily disabled; http://code.google.com/p/go/issues/detail?id=1884")
return
}
buffer := new(bytes.Buffer)
framer, err := NewFramer(buffer, buffer)
if err != nil {
@ -405,7 +411,7 @@ func TestCompressionContextAcrossFrames(t *testing.T) {
}
parsedHeadersFrame, ok := frame.(*HeadersFrame)
if !ok {
t.Fatal("Parsed incorrect frame type:", frame)
t.Fatalf("expected HeadersFrame; got %T %v", frame, frame)
}
if !reflect.DeepEqual(headersFrame, *parsedHeadersFrame) {
t.Fatal("got: ", *parsedHeadersFrame, "\nwant: ", headersFrame)
@ -416,7 +422,7 @@ func TestCompressionContextAcrossFrames(t *testing.T) {
}
parsedSynStreamFrame, ok := frame.(*SynStreamFrame)
if !ok {
t.Fatal("Parsed incorrect frame type:", frame)
t.Fatalf("expected SynStreamFrame; got %T %v", frame, frame)
}
if !reflect.DeepEqual(synStreamFrame, *parsedSynStreamFrame) {
t.Fatal("got: ", *parsedSynStreamFrame, "\nwant: ", synStreamFrame)
@ -424,6 +430,12 @@ func TestCompressionContextAcrossFrames(t *testing.T) {
}
func TestMultipleSPDYFrames(t *testing.T) {
{
// TODO(willchan,bradfitz): test is temporarily disabled
t.Logf("test temporarily disabled; http://code.google.com/p/go/issues/detail?id=1884")
return
}
// Initialize the framers.
pr1, pw1 := io.Pipe()
pr2, pw2 := io.Pipe()