kubernetes/test/e2e/common
Kubernetes Submit Queue 8c3b5541e5
Merge pull request #60457 from sjenning/fix-websocket-e2e-test
Automatic merge from submit-queue (batch tested with PRs 60457, 60331, 54970, 58731, 60562). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

tests: e2e: empty msg from channel other than stdout should be non-fatal

Currently, if the exec websocket encounters a message that is not in the stdout stream, it immediately fails.  However it also currently requests the stderr steam in the query params.  There doesn't seem to be any guarantee that we don't get an empty message on the stderr stream.

Requesting the stderr stream in the query is desirable if, for some reason, something in the container fails and writes to stderr.

However, we do not need fail the test if we get an empty message on another stream.  If the message is not empty, then that _does_ indicate and error and we should fail.

This is the situation we are currently observing with docker 1.13 in the origin CI https://github.com/openshift/origin/issues/18726

@derekwaynecarr @smarterclayton @gabemontero @liggitt @deads2k 

/sig node
2018-03-19 23:42:07 -07:00
..
apparmor.go Collect all the assorted image URLs from e2e tests in one place 2017-12-19 12:16:07 -05:00
autoscaling_utils.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
BUILD Update generated files 2017-11-09 12:14:08 +01:00
configmap.go Add dns, configmap, and custom resource definition conformance 2017-11-01 08:58:56 -07:00
configmap_volume.go Add a e2e test for binary data in configmap 2018-01-23 07:29:07 -05:00
container_probe.go Container Liveness probe InitialDelay time increased to accomodate slow machines 2018-02-15 11:54:06 -05:00
docker_containers.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
downward_api.go Combine downward api e2e test cases. 2017-11-14 09:51:35 +08:00
downwardapi_volume.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
empty_dir.go Fix e2e tests for emptydir 2018-03-16 15:14:42 -04:00
events.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
expansion.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
host_path.go Merge pull request #55009 from bradtopol/addhosteventsemptyconform2 2017-11-14 00:09:45 -08:00
init_container.go Merge pull request #51816 from liggitt/xiangpengzhao-remove-initc-anno 2017-09-03 17:35:11 -07:00
kubelet_etc_hosts.go Create fake /etc/hosts for conformance test 2018-03-06 06:51:41 -05:00
networking.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
pods.go make read from channel other than stdout non-fatal 2018-02-26 15:30:41 -06:00
privileged.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
projected.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
secrets.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
secrets_volume.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
sysctl.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
util.go Use ipc-utils container in HostIPC tests. 2018-01-25 11:09:16 -08:00
volumes.go if judgement always true in e2e 2017-10-30 08:55:51 +08:00