Skip to content

Commit

Permalink
Added cleanup for the snapshots created.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastdriven committed Apr 5, 2013
1 parent 4639be4 commit 81a95b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/redshift/test_layer1.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def test_as_much_as_possible_before_teardown(self):
self.assertEqual(response['CreateClusterSnapshotResponse']\
['CreateClusterSnapshotResult']['Snapshot']\
['Status'], 'creating')
self.addCleanup(self.api.delete_cluster_snapshot, snapshot_id)

# More waiting. :(
time.sleep(self.wait_time)
Expand Down

0 comments on commit 81a95b9

Please sign in to comment.