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:
Patrick Ohly 2019-03-07 15:45:40 +01:00
parent f0418ac3c2
commit 915d6365f1

View File

@ -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"