mirror of https://github.com/k3s-io/k3s
Merge pull request #67200 from bclau/fix-autoscaling-tests-skip
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>. tests: Skips AfterEach step if provider is not supported **What this PR does / why we need it**: The BeforeEach step for cluster_size_autoscaling is skipped if the provider is not gce or gke. The AfterEach step should also be skipped, since nothing was done. **Which issue(s) this PR fixes**: Fixes #67199 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```pull/8/head
commit
c8ffbe3e11
|
@ -134,6 +134,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
|
|||
})
|
||||
|
||||
AfterEach(func() {
|
||||
framework.SkipUnlessProviderIs("gce", "gke")
|
||||
By(fmt.Sprintf("Restoring initial size of the cluster"))
|
||||
setMigSizes(originalSizes)
|
||||
expectedNodes := 0
|
||||
|
|
Loading…
Reference in New Issue