UPSTREAM: 60457: tests: e2e: empty msg from channel other than stdout should be non-fatal
@@ -523,8 +523,14 @@ var _ = framework.KubeDescribe("Pods", func() {
continue
}
if msg[0] != 1 {
+ 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:])
}
if buf.Len() == 0 {
