Skip to content

Commit 915d636

Browse files
committed
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.
1 parent f0418ac commit 915d636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/storage/external/external.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func (d *driverDefinition) GetSnapshotClass(config *testsuites.PerTestConfig) *u
253253
framework.Skipf("Driver %q does not support snapshotting - skipping", d.DriverInfo.Name)
254254
}
255255

256-
snapshotter := config.GetUniqueDriverName()
256+
snapshotter := d.DriverInfo.Name
257257
parameters := map[string]string{}
258258
ns := config.Framework.Namespace.Name
259259
suffix := snapshotter + "-vsc"

0 commit comments

Comments
 (0)