Merge ~powersj/cloud-init:fix-test-mkfs into cloud-init:master
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Scott Moser on 2017-05-17 | ||||
| Approved revision: | 1789f964cbdac52973d0ca075c538ddd7aff0d9e | ||||
| Merged at revision: | 66e46d8ec290737fd74f50eb8c7672d627d9b516 | ||||
| Proposed branch: | ~powersj/cloud-init:fix-test-mkfs | ||||
| Merge into: | cloud-init:master | ||||
| Diff against target: |
17 lines (+3/-1) 1 file modified
tests/unittests/test_handler/test_handler_disk_setup.py (+3/-1) |
||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Scott Moser | 2017-05-17 | Approve on 2017-05-17 | |
| Server Team CI bot | continuous-integration | Approve on 2017-05-17 | |
|
Review via email:
|
|||
Commit Message
tests: fix hardcoded path to mkfs.ext4
A recent merge that added a mkfs.ext4 tests has a hard coded location
for the binary of mkfs.ext4. On CentOS 7 the test failed because the
command in a different location than Ubuntu.
LP: #1691517
| Scott Moser (smoser) wrote : | # |
Can we instead mock the which ?
As the test is now, this will fail if there is no mkfs.ext4.
- 1789f96... by Joshua Powers on 2017-05-17
| Joshua Powers (powersj) wrote : | # |
With mock method per smoser and tested on zesty and centos 7.
PASSED: Continuous integration, rev:1789f964cbd
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/


PASSED: Continuous integration, rev:710f43246b8 8fab3c13a4db86b fbfe9546872741 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 347/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/347 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/347 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 347 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/347
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/ 347/rebuild
https:/