Merge lp:~mwhudson/launchpad/ec2-test-shutdown-if-setup-fails into lp:launchpad
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~mwhudson/launchpad/ec2-test-shutdown-if-setup-fails |
Merge into: | lp:launchpad |
Diff against target: |
31 lines (+6/-1) 1 file modified
lib/devscripts/ec2test/instance.py (+6/-1) |
To merge this branch: | bzr merge lp:~mwhudson/launchpad/ec2-test-shutdown-if-setup-fails |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+15138@code.launchpad.net |
Commit message
In EC2Instance.
To post a comment you must log in.
EC2Instance. set_up_ and_run leaves the instance running when shutdown is false even if the setup of the instance fails. That's not very sensible. This branch changes it to only respect the 'shutdown' argument if instance setup and running the function completes normally