mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
tests: Skips AfterEach step if provider is not supported
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.
This commit is contained in:
parent
a224e53dab
commit
4ed859c307
@ -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
Block a user