Skip to content

Commit

Permalink
introduce a test that should also clean up snapshots in vmware tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Phipps authored and Megan Wilhite committed Aug 19, 2022
1 parent f02851e commit d5dec79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integration/cloud/clouds/test_vmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,10 @@ def test_instant_clone(self):
self.assertIn(i_clone_str, str(ret_val))

self.assertDestroyInstance()

# now clean up snapshots and make sure re get the proper response.
ret_val = self.run_cloud("-a remove_all_snapshots cloud-tests-instant-clone")

s_ret_str = "Removed all snapshots"

self.assertIn(s_ret_str, str(ret_val))

0 comments on commit d5dec79

Please sign in to comment.