From 0bf3f03dda7216e27c881abc47ae1fbfe04e8b18 Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Tue, 14 Jan 2025 12:54:39 -0500 Subject: [PATCH] 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 --- test/e2e/storage/csimock/csi_volume_expansion.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/e2e/storage/csimock/csi_volume_expansion.go b/test/e2e/storage/csimock/csi_volume_expansion.go index 67eb123dc30..602a730ab00 100644 --- a/test/e2e/storage/csimock/csi_volume_expansion.go +++ b/test/e2e/storage/csimock/csi_volume_expansion.go @@ -181,11 +181,6 @@ var _ = utils.SIGDescribe("CSI Mock volume expansion", func() { framework.ExpectNoError(err, "While waiting for pvc to have fs resizing condition") pvc = npvc - inProgressConditions := pvc.Status.Conditions - if len(inProgressConditions) > 0 { - gomega.Expect(inProgressConditions[0].Type).To(gomega.Equal(v1.PersistentVolumeClaimFileSystemResizePending), "pvc must have fs resizing condition") - } - ginkgo.By("Deleting the previously created pod") if test.simulatedCSIDriverError == expansionFailedMissingStagingPath { e2epod.DeletePodOrFail(ctx, m.cs, pod.Namespace, pod.Name)