diff --git a/test/e2e/storage/testsuites/ephemeral.go b/test/e2e/storage/testsuites/ephemeral.go index f9e7a69113e..89166bd3b62 100644 --- a/test/e2e/storage/testsuites/ephemeral.go +++ b/test/e2e/storage/testsuites/ephemeral.go @@ -109,6 +109,7 @@ func (p *ephemeralTestSuite) DefineTests(driver storageframework.TestDriver, pat resource *storageframework.VolumeResource } var ( + dInfo = driver.GetDriverInfo() eDriver storageframework.EphemeralTestDriver l local ) @@ -132,6 +133,11 @@ func (p *ephemeralTestSuite) DefineTests(driver storageframework.TestDriver, pat e2eskipper.Skipf("Cluster doesn't support %q volumes -- skipping", pattern.VolType) } } + // A driver might support the Topology capability which is incompatible with the VolumeBindingMode immediate because + // volumes might be provisioned immediately in a different zone to where the workload is located. + if pattern.BindingMode == storagev1.VolumeBindingImmediate && len(dInfo.TopologyKeys) > 0 { + e2eskipper.Skipf("VolumeBindingMode immediate is not compatible with a multi-topology environment.") + } l = local{}