diff --git a/test/e2e/storage/testsuites/volume_expand.go b/test/e2e/storage/testsuites/volume_expand.go index 2e29277418c..79eb04fc257 100644 --- a/test/e2e/storage/testsuites/volume_expand.go +++ b/test/e2e/storage/testsuites/volume_expand.go @@ -389,9 +389,11 @@ func WaitForPendingFSResizeCondition(ctx context.Context, pvc *v1.PersistentVolu if len(inProgressConditions) == 0 { return true, nil } - conditionType := inProgressConditions[0].Type - if conditionType == v1.PersistentVolumeClaimFileSystemResizePending { - return true, nil + for _, condition := range inProgressConditions { + conditionType := condition.Type + if conditionType == v1.PersistentVolumeClaimFileSystemResizePending { + return true, nil + } } return false, nil })