Skip to content

Commit bfce77d

Browse files
committed
We still can't rely on first condition being fs-expansion pending condition
Also, we don't really need this check here, because code above already checks for fs expansion
1 parent aa6a72f commit bfce77d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/e2e/storage/csimock/csi_volume_expansion.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ var _ = utils.SIGDescribe("CSI Mock volume expansion", func() {
182182
framework.ExpectNoError(err, "While waiting for pvc to have fs resizing condition")
183183
pvc = npvc
184184

185-
inProgressConditions := pvc.Status.Conditions
186-
if len(inProgressConditions) > 0 {
187-
gomega.Expect(inProgressConditions[0].Type).To(gomega.Equal(v1.PersistentVolumeClaimFileSystemResizePending), "pvc must have fs resizing condition")
188-
}
189-
190185
ginkgo.By("Deleting the previously created pod")
191186
if test.simulatedCSIDriverError == expansionFailedMissingStagingPath {
192187
e2epod.DeletePodOrFail(ctx, m.cs, pod.Namespace, pod.Name)

0 commit comments

Comments
 (0)