Merge ~smoser/cloud-init:fix/tests-command-output-simple-warn into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Chad Smith on 2017-10-20 |
| Approved revision: | 34182a0ae573692c543b1046ea320ff851fd8555 |
| Merged at revision: | c06eea972eb4b7bfa68f4f542f2fb67ea1d455ac |
| Proposed branch: | ~smoser/cloud-init:fix/tests-command-output-simple-warn |
| Merge into: | cloud-init:master |
| Diff against target: |
116 lines (+30/-10) 4 files modified
cloudinit/config/cc_lxd.py (+1/-1) tests/cloud_tests/testcases/base.py (+5/-1) tests/cloud_tests/testcases/main/command_output_simple.py (+16/-0) tests/unittests/test_handler/test_handler_lxd.py (+8/-8) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Needs Fixing on 2017-10-20 | |
| Chad Smith | 2017-10-20 | Approve on 2017-10-20 | |
| Joshua Powers (community) | Approve on 2017-10-20 | ||
|
Review via email:
|
|||
Commit Message
citest: fix remaining warnings raised by integration tests.
There was fallout in a full integration test run from my adding of
test_no_
which asserted that there could not be a WARNING found in the
/var/log/
This fixes 2 of the cases:
* TestCommandOutp
test case to allow for that.
* TestLxdDir had a valid config in the test but the module would
log a WARNING, so fix the module.
Also updates lxd unit tests to look for WARN themselves.
| Chad Smith (chad.smith) wrote : | # |
+1 with this minor patch which ensures the unit tests are actually checking for warnings. So we don't rely on costly integration tests finding them
Also, it moves lxd tests to our CiTestCase to make sure we are pulling from common logging setup
http://
FAILED: Continuous integration, rev:16b5b5f691b
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild:
https:/
| Scott Moser (smoser) wrote : | # |
grabbed chad's suggested changes and pushed. thanks.
FAILED: Continuous integration, rev:
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild:
https:/
FAILED: Continuous integration, rev:
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild:
https:/
FAILED: Continuous integration, rev:34182a0ae57
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild:
https:/
FAILED: Continuous integration, rev:
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild:
https:/


+1 Thanks for the cleanup