mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-19 22:44:21 +00:00
Replace pod with deployment in E2E test
Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
@@ -135,7 +135,7 @@ func (p *PVCSelectedNodeChanging) Restore() error {
|
||||
}
|
||||
func (p *PVCSelectedNodeChanging) Verify() error {
|
||||
By(fmt.Sprintf("PVC selected node should be %s", p.newNodeName), func() {
|
||||
pvcNameList, err := GetPvcByPodName(p.Ctx, p.mappedNS, p.pvcName)
|
||||
pvcNameList, err := GetPvcByPVCName(p.Ctx, p.mappedNS, p.pvcName)
|
||||
Expect(err).To(Succeed())
|
||||
Expect(len(pvcNameList)).Should(Equal(1))
|
||||
pvc, err := GetPVC(p.Ctx, p.Client, p.mappedNS, pvcNameList[0])
|
||||
|
||||
Reference in New Issue
Block a user