mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
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 ```
This commit is contained in:
commit
c8ffbe3e11
@ -134,6 +134,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
AfterEach(func() {
|
AfterEach(func() {
|
||||||
|
framework.SkipUnlessProviderIs("gce", "gke")
|
||||||
By(fmt.Sprintf("Restoring initial size of the cluster"))
|
By(fmt.Sprintf("Restoring initial size of the cluster"))
|
||||||
setMigSizes(originalSizes)
|
setMigSizes(originalSizes)
|
||||||
expectedNodes := 0
|
expectedNodes := 0
|
||||||
|
Loading…
Reference in New Issue
Block a user