Commit 0639f1de authored by Seth Jennings's avatar Seth Jennings

make read from channel other than stdout non-fatal

parent 456ebf5d
...@@ -523,7 +523,13 @@ var _ = framework.KubeDescribe("Pods", func() { ...@@ -523,7 +523,13 @@ var _ = framework.KubeDescribe("Pods", func() {
continue continue
} }
if msg[0] != 1 { if msg[0] != 1 {
framework.Failf("Got message from server that didn't start with channel 1 (STDOUT): %v", msg) if len(msg) == 1 {
// skip an empty message on stream other than stdout
continue
} else {
framework.Failf("Got message from server that didn't start with channel 1 (STDOUT): %v", msg)
}
} }
buf.Write(msg[1:]) buf.Write(msg[1:])
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment