From c4907ee1a8325e8a72ab6ef0aec68445ca0294fb Mon Sep 17 00:00:00 2001 From: knrt10 Date: Wed, 26 Aug 2020 16:28:29 +0530 Subject: [PATCH] Update test for cluster-autoscaler Signed-off-by: knrt10 --- .../cluster-autoscaler/cluster-autoscaler_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/components/cluster-autoscaler/cluster-autoscaler_test.go b/test/components/cluster-autoscaler/cluster-autoscaler_test.go index b09340cc2..30b0abd29 100644 --- a/test/components/cluster-autoscaler/cluster-autoscaler_test.go +++ b/test/components/cluster-autoscaler/cluster-autoscaler_test.go @@ -18,7 +18,6 @@ package clusterautoscaler import ( - "fmt" "testing" "time" @@ -28,14 +27,15 @@ import ( const ( defaultDeploymentTimeout = 5 * time.Minute defaultDeploymentProbeInterval = 5 * time.Second + name = "cluster-autoscaler-packet-cluster-autoscaler-chart" ) func TestClusterAutoscalerDeployments(t *testing.T) { client := testutil.CreateKubeClient(t) - t.Run(fmt.Sprintf("deployment"), func(t *testing.T) { + t.Run("deployment", func(t *testing.T) { t.Parallel() - testutil.WaitForDeployment(t, client, "kube-system", "cluster-autoscaler-packet-cluster-autoscaler", defaultDeploymentProbeInterval, defaultDeploymentTimeout) + testutil.WaitForDeployment(t, client, "kube-system", name, defaultDeploymentProbeInterval, defaultDeploymentTimeout) }) }