Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Shetty <[email protected]>
  • Loading branch information
mashetty330 committed Jul 11, 2024
1 parent 8a6f7b7 commit 67ff937
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7843,8 +7843,14 @@ def finalizer():
secret_obj = get_secret_from_vm(vm_obj)
volumeimportsource_obj = get_volumeimportsource(pvc_obj=pvc_obj)
vm_obj.delete()
log.info(f"Successfully deleted VM {vm_obj.name}")
pvc_obj.delete()
log.info(f"Successfully deleted PVC {pvc_obj.name}")
secret_obj.delete()
log.info(f"Successfully deleted secret {secret_obj.name}")
volumeimportsource_obj.delete()
log.info(
f"Successfully deleted VolumeImportSource {volumeimportsource_obj.name}"
)

request.addfinalizer(finalizer)

0 comments on commit 67ff937

Please sign in to comment.