Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Update test for cluster-autoscaler
Browse files Browse the repository at this point in the history
Signed-off-by: knrt10 <kautilya@kinvolk.io>
  • Loading branch information
knrt10 committed Aug 27, 2020
1 parent a7ccd2f commit c4907ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/components/cluster-autoscaler/cluster-autoscaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package clusterautoscaler

import (
"fmt"
"testing"
"time"

Expand All @@ -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)
})
}

0 comments on commit c4907ee

Please sign in to comment.