mirror of
https://github.com/golang/go
synced 2024-11-22 01:54:42 -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:
parent
406d73876d
commit
b88be14982
@ -371,6 +371,12 @@ func TestCreateParseDataFrame(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestCompressionContextAcrossFrames(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)
|
buffer := new(bytes.Buffer)
|
||||||
framer, err := NewFramer(buffer, buffer)
|
framer, err := NewFramer(buffer, buffer)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -405,7 +411,7 @@ func TestCompressionContextAcrossFrames(t *testing.T) {
|
|||||||
}
|
}
|
||||||
parsedHeadersFrame, ok := frame.(*HeadersFrame)
|
parsedHeadersFrame, ok := frame.(*HeadersFrame)
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatal("Parsed incorrect frame type:", frame)
|
t.Fatalf("expected HeadersFrame; got %T %v", frame, frame)
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(headersFrame, *parsedHeadersFrame) {
|
if !reflect.DeepEqual(headersFrame, *parsedHeadersFrame) {
|
||||||
t.Fatal("got: ", *parsedHeadersFrame, "\nwant: ", headersFrame)
|
t.Fatal("got: ", *parsedHeadersFrame, "\nwant: ", headersFrame)
|
||||||
@ -416,7 +422,7 @@ func TestCompressionContextAcrossFrames(t *testing.T) {
|
|||||||
}
|
}
|
||||||
parsedSynStreamFrame, ok := frame.(*SynStreamFrame)
|
parsedSynStreamFrame, ok := frame.(*SynStreamFrame)
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatal("Parsed incorrect frame type:", frame)
|
t.Fatalf("expected SynStreamFrame; got %T %v", frame, frame)
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(synStreamFrame, *parsedSynStreamFrame) {
|
if !reflect.DeepEqual(synStreamFrame, *parsedSynStreamFrame) {
|
||||||
t.Fatal("got: ", *parsedSynStreamFrame, "\nwant: ", synStreamFrame)
|
t.Fatal("got: ", *parsedSynStreamFrame, "\nwant: ", synStreamFrame)
|
||||||
@ -424,6 +430,12 @@ func TestCompressionContextAcrossFrames(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestMultipleSPDYFrames(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.
|
// Initialize the framers.
|
||||||
pr1, pw1 := io.Pipe()
|
pr1, pw1 := io.Pipe()
|
||||||
pr2, pw2 := io.Pipe()
|
pr2, pw2 := io.Pipe()
|
||||||
|
Loading…
Reference in New Issue
Block a user