From 0639f1def66f55752b0adce6fbd2badea7843419 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Mon, 26 Feb 2018 15:15:37 -0600 Subject: [PATCH] make read from channel other than stdout non-fatal --- test/e2e/common/pods.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/e2e/common/pods.go b/test/e2e/common/pods.go index 1b14332bcaa..c3342f9d809 100644 --- a/test/e2e/common/pods.go +++ b/test/e2e/common/pods.go @@ -523,7 +523,13 @@ var _ = framework.KubeDescribe("Pods", func() { continue } 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:]) }