> @@ -220,4 +220,17 @@ void testDeleteSnapshotInRegion() {
> assert client.describeSnapshotsInRegion(snapshot.getRegion(),
> snapshotIds(snapshot.getId())).size() == 0;
> }
>
> + @AfterClass(groups = { "integration", "live" })
> + @Override
> + protected void tearDownContext() {
> + try {
> + client.deleteSnapshotInRegion(snapshot.getRegion(),
> snapshot.getId());
> + client.deleteVolumeInRegion(defaultRegion, volumeId);
> + } catch (Exception e) {
> + // we don't really care about any exception here, so just delete
> away.
Perhaps log something, just so we can see that something's not quite right
here..?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/154/files#r6591371