Merge lp:~wallyworld/juju-core/fix-tools-tests-1.18 into lp:juju-core/1.18
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | William Reade | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2261 | ||||
Proposed branch: | lp:~wallyworld/juju-core/fix-tools-tests-1.18 | ||||
Merge into: | lp:juju-core/1.18 | ||||
Diff against target: |
220 lines (+59/-22) 3 files modified
cmd/juju/bootstrap_test.go (+26/-3) environs/bootstrap/bootstrap_test.go (+25/-14) environs/bootstrap/synctools.go (+8/-5) |
||||
To merge this branch: | bzr merge lp:~wallyworld/juju-core/fix-tools-tests-1.18 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+214159@code.launchpad.net |
Commit message
A handful of unit tests which call bootstrap or functions which upload tools failed if the Juju version is a release number eg 1.18. This is because those tests did not first explicitly upload tools and auto upload for release tools is not allowed.
The affected tests patch the version.Current variable to change the version to a dev release.
Also, changes were made to allow release tools be uploaded (a version.Dev() check is removed). Tested live with EC2.
Description of the change
A handful of unit tests which call bootstrap or functions which upload tools failed if the Juju version is a release number eg 1.18. This is because those tests did not first explicitly upload tools and auto upload for release tools is not allowed.
The affected tests patch the version.Current variable to change the version to a dev release.
Also, changes were made to allow release tools be uploaded (a version.Dev() check is removed). Tested live with EC2.
LGTM. Thank you very much: you have gone further above and beyond than anyone can or should expect, please don't burn yourself out.