mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-15 20:37:39 +00:00
e2e_storage: stop using deprecated framework.ExpectEqual
This commit is contained in:
@@ -119,7 +119,7 @@ var _ = utils.SIGDescribe("Mounted volume expand [Feature:StorageProvider]", fun
|
||||
ginkgo.By("Checking for bound PVC")
|
||||
pvs, err := e2epv.WaitForPVClaimBoundPhase(ctx, c, pvcClaims, framework.ClaimProvisionTimeout)
|
||||
framework.ExpectNoError(err, "Failed waiting for PVC to be bound %v", err)
|
||||
framework.ExpectEqual(len(pvs), 1)
|
||||
gomega.Expect(pvs).To(gomega.HaveLen(1))
|
||||
|
||||
ginkgo.By("Wait for a pod from deployment to be running")
|
||||
podList, err := e2edeployment.GetPodsForDeployment(ctx, c, deployment)
|
||||
@@ -164,7 +164,7 @@ var _ = utils.SIGDescribe("Mounted volume expand [Feature:StorageProvider]", fun
|
||||
framework.ExpectNoError(err, "while waiting for fs resize to finish")
|
||||
|
||||
pvcConditions := pvc.Status.Conditions
|
||||
framework.ExpectEqual(len(pvcConditions), 0, "pvc should not have conditions")
|
||||
gomega.Expect(pvcConditions).To(gomega.BeEmpty(), "pvc should not have conditions")
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user