mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-08 14:29:45 +00:00
Ensure that e2e tests run on gce|gke and are appropriately
skipped for other cloud providers.
This commit is contained in:
@@ -42,7 +42,7 @@ var _ = Describe("Monitoring", func() {
|
||||
})
|
||||
|
||||
It("verify monitoring pods and all cluster nodes are available on influxdb using heapster.", func() {
|
||||
if testContext.Provider != "gce" {
|
||||
if !providerIs("gce") {
|
||||
By(fmt.Sprintf("Skipping Monitoring test, which is only supported for provider gce (not %s)",
|
||||
testContext.Provider))
|
||||
return
|
||||
|
Reference in New Issue
Block a user