mirror of https://github.com/apache/jclouds.git
bdfd1facb9
- Some users get a DependencyVioloation, rather than InvalidGroup.InUse, when attempting to delete the security group. This caused cleanupIncidentalResources to propagate an exception. - Fixes it by converting this to an IllegalStateException (in same way as is done for “InUse”) - Adds tests (using MockWebServer) for happy-path and for failing to delete the security group with each of InUse and DependencyViolation responses. - Adds Timeouts.cleanupIncidentalResources - Use that timeout in EC2, when retrying the deletion of security group on VM deletion (previously hard-coded as 3 seconds). - Configure that timeout in the tests, so deterministic number of retries |
||
---|---|---|
.. | ||
src | ||
pom.xml |