diff --git a/e2e/cephfs.go b/e2e/cephfs.go index f790c42477b7..0818b9ce2eea 100644 --- a/e2e/cephfs.go +++ b/e2e/cephfs.go @@ -337,7 +337,7 @@ var _ = Describe(cephfsType, func() { framework.Failf("failed to create CephFS storageclass: %v", err) } scName := "csi-cephfs-sc" - base, err := newVolumeGroupSnapshotBase(f, scName, f.UniqueName, false, deployTimeout, 3) + base, err := newVolumeGroupSnapshotBase(f, f.UniqueName, scName, false, deployTimeout, 3) if err != nil { framework.Failf("failed to create volumeGroupSnapshot Base: %v", err) } diff --git a/e2e/volumegroupsnapshot_base.go b/e2e/volumegroupsnapshot_base.go index 531c83a1c857..1ca8b32261c5 100644 --- a/e2e/volumegroupsnapshot_base.go +++ b/e2e/volumegroupsnapshot_base.go @@ -194,7 +194,7 @@ func (v volumeGroupSnapshotterBase) CreateVolumeGroupSnapshotClass( return wait.PollUntilContextTimeout( context.TODO(), poll, - time.Duration(v.timeout), + time.Duration(v.timeout)*time.Minute, true, func(ctx context.Context) (bool, error) { _, err := v.groupclient.VolumeGroupSnapshotClasses().Create(ctx, groupSnapshotClass, metav1.CreateOptions{})