diff --git a/test/integration/kubectl_test.go b/test/integration/kubectl_test.go index ea664bb8..f090647c 100644 --- a/test/integration/kubectl_test.go +++ b/test/integration/kubectl_test.go @@ -6,6 +6,7 @@ SPDX-License-Identifier: Apache-2.0 package integration import ( + "os" "os/exec" "testing" @@ -13,6 +14,9 @@ import ( ) func TestGetNodes(t *testing.T) { - err := exec.Command("kubectl", "get", "nodes").Run() + cmd := exec.Command("kubectl", "get", "nodes") + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr + err := cmd.Run() require.NoError(t, err) }