e2e_storage: stop using deprecated framework.ExpectEqual

This commit is contained in:
宋文杰
2023-07-25 18:49:16 +08:00
parent f852d7fead
commit 8a368afa27
32 changed files with 107 additions and 89 deletions

View File

@@ -127,7 +127,7 @@ var _ = utils.SIGDescribe("PersistentVolumes-expansion ", func() {
framework.ExpectNoError(err, "while waiting for fs resize to finish")
pvcConditions := testVol.pvc.Status.Conditions
framework.ExpectEqual(len(pvcConditions), 0, "pvc should not have conditions")
gomega.Expect(pvcConditions).To(gomega.BeEmpty(), "pvc should not have conditions")
})
})