Merge lp://staging/~dpb/charms/trusty/landscape-client/fix-integration-tests into lp://staging/~landscape/charms/trusty/landscape-client/trunk
Proposed by
David Britton
Status: | Merged |
---|---|
Merged at revision: | 50 |
Proposed branch: | lp://staging/~dpb/charms/trusty/landscape-client/fix-integration-tests |
Merge into: | lp://staging/~landscape/charms/trusty/landscape-client/trunk |
Diff against target: |
532 lines (+127/-238) 15 files modified
.bzrignore (+2/-0) TESTING (+17/-5) config.yaml (+16/-0) hooks/ceph.py (+1/-1) hooks/install.py (+0/-1) metadata.yaml (+1/-0) tests/00-setup (+10/-0) tests/001_install.test (+0/-95) tests/10-deploy-register.py (+53/-0) tests/Makefile (+0/-8) tests/bundles.yaml (+20/-0) tests/lib/test-config.yaml (+0/-8) tests/lib/test-helpers.sh (+0/-114) tests/test.sh (+0/-6) tests/test.yaml (+7/-0) |
To merge this branch: | bzr merge lp://staging/~dpb/charms/trusty/landscape-client/fix-integration-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Andreas Hasenack | Approve | ||
Review via email:
|
Description of the change
Get our integration tests back up to snuff. You can test like:
virtualenv bundletester
source bundletester/
pip install bundletester
juju env <where you want to be>
bundletester
FYI -- there is nothing fancy about bundletester, it's just a runner and what ~charmers is moving toward for standardized testing of charms/bundles. You can achieve the same functionality by doing this:
make test
make lint
charm proof
./test/00-*
./test/10-*
FYI 2 -- you can see the results of testing here:
https:/
To post a comment you must log in.
A few comments inline. I'm not very fond of using staging as a test bed for this, but right now I don't have a better idea other than deploying lds for real, which is out of scope for this.