mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
e2e/storage: fix snapshot support in external driver testing
When using an already installed driver, the snapshot name is the original driver name. Renaming was incorrectly copied from the in-tree CSI hostpath driver.
This commit is contained in:
parent
f0418ac3c2
commit
915d6365f1
2
test/e2e/storage/external/external.go
vendored
2
test/e2e/storage/external/external.go
vendored
@ -253,7 +253,7 @@ func (d *driverDefinition) GetSnapshotClass(config *testsuites.PerTestConfig) *u
|
||||
framework.Skipf("Driver %q does not support snapshotting - skipping", d.DriverInfo.Name)
|
||||
}
|
||||
|
||||
snapshotter := config.GetUniqueDriverName()
|
||||
snapshotter := d.DriverInfo.Name
|
||||
parameters := map[string]string{}
|
||||
ns := config.Framework.Namespace.Name
|
||||
suffix := snapshotter + "-vsc"
|
||||
|
Loading…
Reference in New Issue
Block a user