@@ -846,7 +846,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
846
846
pv := getPvFromClaim (client , pvclaimsList [i ].Namespace , pvclaimsList [i ].Name )
847
847
err = fpv .DeletePersistentVolumeClaim (ctx , client , pvclaimsList [i ].Name , namespace )
848
848
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
849
- framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , pollTimeoutShort ))
849
+ framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , framework . PodDeleteTimeout ))
850
850
err = e2eVSphere .waitForCNSVolumeToBeDeleted (pv .Spec .CSI .VolumeHandle )
851
851
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
852
852
}
@@ -1103,7 +1103,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
1103
1103
pv := getPvFromClaim (client , pvclaimsList [i ].Namespace , pvclaimsList [i ].Name )
1104
1104
err = fpv .DeletePersistentVolumeClaim (ctx , client , pvclaimsList [i ].Name , namespace )
1105
1105
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1106
- framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , pollTimeoutShort ))
1106
+ framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , framework . PodDeleteTimeout ))
1107
1107
err = e2eVSphere .waitForCNSVolumeToBeDeleted (pv .Spec .CSI .VolumeHandle )
1108
1108
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1109
1109
}
@@ -1632,7 +1632,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
1632
1632
pv := getPvFromClaim (client , pvclaimsList [i ].Namespace , pvclaimsList [i ].Name )
1633
1633
err = fpv .DeletePersistentVolumeClaim (ctx , client , pvclaimsList [i ].Name , namespace )
1634
1634
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1635
- framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , pollTimeoutShort ))
1635
+ framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , framework . PodDeleteTimeout ))
1636
1636
err = e2eVSphere .waitForCNSVolumeToBeDeleted (pv .Spec .CSI .VolumeHandle )
1637
1637
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1638
1638
}
@@ -1883,7 +1883,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
1883
1883
pv := getPvFromClaim (client , pvclaimsList [i ].Namespace , pvclaimsList [i ].Name )
1884
1884
err = fpv .DeletePersistentVolumeClaim (ctx , client , pvclaimsList [i ].Name , namespace )
1885
1885
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1886
- framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , pollTimeoutShort ))
1886
+ framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , framework . PodDeleteTimeout ))
1887
1887
err = e2eVSphere .waitForCNSVolumeToBeDeleted (pv .Spec .CSI .VolumeHandle )
1888
1888
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
1889
1889
}
@@ -2265,7 +2265,7 @@ var _ = ginkgo.Describe("[topology-multireplica] Topology-MultiReplica",
2265
2265
pv := getPvFromClaim (client , pvclaimsList [i ].Namespace , pvclaimsList [i ].Name )
2266
2266
err = fpv .DeletePersistentVolumeClaim (ctx , client , pvclaimsList [i ].Name , namespace )
2267
2267
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
2268
- framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , pollTimeoutShort ))
2268
+ framework .ExpectNoError (fpv .WaitForPersistentVolumeDeleted (ctx , client , pv .Name , poll , framework . PodDeleteTimeout ))
2269
2269
err = e2eVSphere .waitForCNSVolumeToBeDeleted (pv .Spec .CSI .VolumeHandle )
2270
2270
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
2271
2271
}
0 commit comments