From 153f91693bbc562133db6cd9505b265a9589c314 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Wed, 3 Oct 2018 09:37:26 -0700 Subject: [PATCH] e2e: change test strings to avoid error highlighting The words "error" and "fail" are magic in test output, and are highlighted in the build logs. Change some test strings to avoid hitting the highlighting in normal operation. --- test/e2e/node/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/node/ssh.go b/test/e2e/node/ssh.go index ad61f4d9e4f..0c6084f6015 100644 --- a/test/e2e/node/ssh.go +++ b/test/e2e/node/ssh.go @@ -59,7 +59,7 @@ var _ = SIGDescribe("SSH", func() { // Keep this test first - this variant runs on all nodes. {`echo "Hello from $(whoami)@$(hostname)"`, false, "", "", 0, nil}, {`echo "foo" | grep "bar"`, true, "", "", 1, nil}, - {`echo "Out" && echo "Error" >&2 && exit 7`, true, "Out", "Error", 7, nil}, + {`echo "stdout" && echo "stderr" >&2 && exit 7`, true, "stdout", "stderr", 7, nil}, } for i, testCase := range testCases {