diff --git a/test/e2e/cluster_size_autoscaling.go b/test/e2e/cluster_size_autoscaling.go index dc9d6c659e0..af784574bae 100644 --- a/test/e2e/cluster_size_autoscaling.go +++ b/test/e2e/cluster_size_autoscaling.go @@ -575,8 +575,8 @@ func waitForAllCaPodsReadyInNamespace(f *framework.Framework, c *client.Client) glog.Infof("Some pods are not ready yet: %v", notready) } glog.Info("Timeout on waiting for pods being ready") - glog.Info(framework.RunKubectlOrDie("get", "pods", "-o json", "--all-namespaces")) - glog.Info(framework.RunKubectlOrDie("get", "nodes", "-o json")) + glog.Info(framework.RunKubectlOrDie("get", "pods", "-o", "json", "--all-namespaces")) + glog.Info(framework.RunKubectlOrDie("get", "nodes", "-o", "json")) // Some pods are still not running. return fmt.Errorf("Some pods are still not running: %v", notready)