mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 05:30:26 +00:00
Ensure that e2e tests run on gce|gke and are appropriately
skipped for other cloud providers.
This commit is contained in:
@@ -57,7 +57,7 @@ var _ = Describe("PD", func() {
|
||||
})
|
||||
|
||||
It("should schedule a pod w/ a RW PD, remove it, then schedule it on another host", func() {
|
||||
if testContext.Provider != "gce" && testContext.Provider != "aws" {
|
||||
if !providerIs("gce", "aws") {
|
||||
By(fmt.Sprintf("Skipping PD test, which is only supported for providers gce & aws (not %s)",
|
||||
testContext.Provider))
|
||||
return
|
||||
|
Reference in New Issue
Block a user