Files
kubernetes/test/e2e_node
Kubernetes Submit Queue 587cbaf988 Merge pull request #36410 from Random-Liu/avoid-printing-test-result-twice
Automatic merge from submit-queue

Node E2E: Avoid printing test result twice.

This is a problem since long time ago.

`RunSshCommand` includes the command output to the error. If the command running the test fails, the test output will also be included in the error. [The runner prints both the test output and the error](https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/runner/remote/run_remote.go#L270), which leads the test result to be printed twice. (See the [test result](https://storage.googleapis.com/kubernetes-jenkins/logs/kubelet-gce-e2e-ci/10968/build-log.txt) on node tmp-node-e2e-af900a4d-e2e-node-ubuntu-trusty-docker9-v1-image)

This PR changes `RunSshCommand` not to put command output into the error, and leave the caller to decide how to deal with command output when the command fails.
2016-11-16 02:23:12 -08:00
..
2016-11-15 18:10:27 -08:00
2016-11-15 09:15:31 -08:00
2016-07-16 13:48:21 -04:00
2016-11-05 21:11:51 -07:00
2016-11-08 13:01:28 -05:00
2016-10-31 21:14:21 +08:00
2016-10-24 05:50:24 -07:00
2016-11-15 09:15:31 -08:00