Skip to content

Commit

Permalink
Fix test_run_pod_local_image testcase (#8835)
Browse files Browse the repository at this point in the history
Signed-off-by: Vishakha Kathole <[email protected]>
  • Loading branch information
vkathole authored Dec 4, 2023
1 parent 3875d3a commit 5aafc04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/e2e/workloads/ocp/registry/test_pod_from_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ def test_run_pod_local_image(self, pvc_factory, pod_factory):
"claimName"
] = pvc_obj.name
pod_obj = pod_factory(pvc=pvc_obj, custom_data=pod_dict)
pod_image = (
pod_obj.get().get("status").get("containerStatuses")[0].get("imageID")
)
pod_image = pod_obj.get().get("status").get("containerStatuses")[0].get("image")
assert image_id == pod_image, f"pod uses different image {pod_image}"
logger.info(f"pod uses {image_id}")

0 comments on commit 5aafc04

Please sign in to comment.