From ee764c8df49b32dc8916b6476ab016c98cc0bb8c Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 27 May 2020 16:54:03 -0700 Subject: [PATCH] add comment --- test/integration/functional_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index a22cb6f0a..9a2685025 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -821,6 +821,7 @@ func validateSSHCmd(ctx context.Context, t *testing.T, profile string) { if err != nil { t.Errorf("failed to run an ssh command. args %q : %v", rr.Command(), err) } + // trailing whitespace differs between native and external SSH clients, so let's trim it and call it a day if strings.TrimSpace(rr.Stdout.String()) != want { t.Errorf("expected minikube ssh command output to be -%q- but got *%q*. args %q", want, rr.Stdout.String(), rr.Command()) } -- GitLab