From 915d6365f1e5da05f542262e70bad1165c7e7f30 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 7 Mar 2019 15:45:40 +0100 Subject: [PATCH] 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. --- test/e2e/storage/external/external.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/storage/external/external.go b/test/e2e/storage/external/external.go index eb4fcb9409d..0ecfa8997fd 100644 --- a/test/e2e/storage/external/external.go +++ b/test/e2e/storage/external/external.go @@ -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"