Fix test skip condition

pull/6/head
Aleksandra Malinowska 2017-10-03 10:02:22 +02:00
parent 884c6f9146
commit d25a6dbf6f
1 changed files with 1 additions and 1 deletions

View File

@ -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")