Merge ~larsks/cloud-init:bug/cloudstack-tests into cloud-init:master
Proposed by
Lars Kellogg-Stedman
on 2017-05-18
| Status: | Merged |
|---|---|
| Merged at revision: | afdddf8eea34866b43d1fc92624f9ac175802f36 |
| Proposed branch: | ~larsks/cloud-init:bug/cloudstack-tests |
| Merge into: | cloud-init:master |
| Diff against target: |
23 lines (+8/-3) 1 file modified
tests/unittests/test_datasource/test_cloudstack.py (+8/-3) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-05-18 | |
| Scott Moser | 2017-05-18 | Approve on 2017-05-18 | |
|
Review via email:
|
|||
Description of the Change
cloudstack: fix tests to avoid accessing /var/lib/
on centos/fedora/rhel, /var/lib/
the cloudstack unit tests to fail when run as a non-root user. This
mocks out get_latest_lease so that we no longer try to read dhcp lease
information during the unit tests.
This permits the unit tests to complete on centos/
To post a comment you must log in.
review:
Approve


PASSED: Continuous integration, rev:afdddf8eea3 4866b43d1fc9262 4f9ac175802f36 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 353/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/353 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/353 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 353 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/353
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 353/rebuild
https:/