Skip to content

Commit 3055d55

Browse files
committed
new changes
1 parent 218a381 commit 3055d55

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/e2e/snapshot_stretched_supervisor.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
345345
ctx, cancel := context.WithCancel(context.Background())
346346
defer cancel()
347347

348-
var volHandle string
349348
scParameters[svStorageClassName] = zonalWffcPolicy
350349

351350
ginkgo.By("Create storage class")
@@ -357,15 +356,6 @@ var _ = ginkgo.Describe("Stretched-Supervisor-Snapshot", func() {
357356
scParameters, diskSize, nil, "", false, "", "", storageclass, 1, true, false)
358357
gomega.Expect(err).NotTo(gomega.HaveOccurred())
359358

360-
if latebinding {
361-
ginkgo.By("Verify PVC bound state created with latebinding mode storage policy")
362-
pvs, err := fpv.WaitForPVClaimBoundPhase(ctx, client, []*v1.PersistentVolumeClaim{pvclaims[0]}, pollTimeout)
363-
gomega.Expect(err).NotTo(gomega.HaveOccurred())
364-
pv := pvs[0]
365-
volHandle = pv.Spec.CSI.VolumeHandle
366-
gomega.Expect(volHandle).NotTo(gomega.BeEmpty())
367-
}
368-
369359
ginkgo.By("Create a Pod using the volume created above and write data into the volume")
370360
pod, err := createPod(ctx, client, namespace, nil, []*v1.PersistentVolumeClaim{pvclaims[0]}, false,
371361
execRWXCommandPod1)

0 commit comments

Comments
 (0)