Commit d25a6dbf authored by Aleksandra Malinowska's avatar Aleksandra Malinowska

Fix test skip condition

parent 884c6f91
......@@ -690,7 +690,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
It("Should be able to scale a node group down to 0[Feature:ClusterSizeAutoscalingScaleDown]", func() {
if framework.ProviderIs("gke") { // In GKE, we can just add a node pool
gkeScaleToZero()
} else if len(originalSizes) < 2 {
} else if len(originalSizes) >= 2 {
gceScaleToZero()
} else {
framework.Skipf("At least 2 node groups are needed for scale-to-0 tests")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment