mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #53371 from aleksandra-malinowska/autoscaling-test-fix-10
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix skip condition for autoscaling test of scale to zero This fixes test running in wrong setup (on single MIG vs multiple MIGs as was intended.)
This commit is contained in:
commit
7f8dfcd39c
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user