mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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
This commit is contained in:
parent
570f550189
commit
0bf3f03dda
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user