Commit 4ed859c3 authored by Claudiu Belu's avatar Claudiu Belu

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.
parent a224e53d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment