Merge ~vultaire/charm-graylog:adding-zaza-tests into ~graylog-charmers/charm-graylog:master
Status: | Merged |
---|---|
Approved by: | Xav Paice |
Approved revision: | 8168d755429d15d38e832c112440d6f42896636f |
Merged at revision: | 9e01c58565939a645ab53d617cddaebbdbcca467 |
Proposed branch: | ~vultaire/charm-graylog:adding-zaza-tests |
Merge into: | ~graylog-charmers/charm-graylog:master |
Diff against target: |
317 lines (+206/-10) 7 files modified
lib/charms/layer/graylog/logextract.py (+12/-4) tests/README.md (+12/-0) tests/bundles/bionic-graylog2.yaml (+9/-2) tests/bundles/bionic-graylog3.yaml (+45/-0) tests/bundles/bionic-ha.yaml (+8/-0) tests/test_legacy.py (+110/-0) tests/tests.yaml (+10/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xav Paice (community) | Approve | ||
Alvaro Uria (community) | Approve | ||
Canonical IS Reviewers | Pending | ||
Review via email: mp+378537@code.launchpad.net |
Commit message
Adding initial zaza tests via "tox -e func"
This patch provides zaza-compatible ports of the charm's original
amulet-based test suite along with the relevant modifications
necessary to enable them to be run. This is intended to provide a
base for future development which includes functional testing.
Description of the change
* lib/charms/
* tests/README.md: Provided simple instructions about how to build the charm and run the functional tests. Includes important notes about running behind a proxy.
* tests/bundles/**: Temporarily removed the bionic-ha bundle (since we don't yet have HA support), and replaced the bionic bundle with different versions for Graylog 2 and 3. Other small changes were done, including (but not limited to) changes to better allow tests to run via Zaza.
* tests/test_
* tests/tests.yaml: This file appears to have been more-or-less a placeholder. Now it provides a real test and has been updated to allow clean deploy and settlement of the bundles.
* tox.ini: A build command has been added, and minimal changes have been made to the func target to allow it to run zaza tests correctly.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.