add e2e tests for DeleteSnapshotsecrets

This commit is contained in:
Manohar Reddy
2021-01-07 21:44:58 +05:30
parent ebe7380b38
commit a6ec62f76d
8 changed files with 174 additions and 17 deletions

View File

@@ -817,7 +817,8 @@ func prepareSnapshotDataSourceForProvisioning(
}
e2evolume.InjectContent(f, config, nil, "", tests)
snapshotResource := storageframework.CreateSnapshotResource(sDriver, perTestConfig, pattern, updatedClaim.GetName(), updatedClaim.GetNamespace(), f.Timeouts)
parameters := map[string]string{}
snapshotResource := storageframework.CreateSnapshotResource(sDriver, perTestConfig, pattern, updatedClaim.GetName(), updatedClaim.GetNamespace(), f.Timeouts, parameters)
group := "snapshot.storage.k8s.io"
dataSourceRef := &v1.TypedLocalObjectReference{