Commit Graph

20 Commits

Author SHA1 Message Date
Joe Guo 4c5298ea16 Makefile: switch to python3
Change-Id: I62404465e7e6827ca81363fa1a999f2e17d8a4b2
Signed-off-by: Joe Guo <joe.guo@canonical.com>
2020-01-15 18:03:39 +13:00
Frode Nordahl 3c34a8520a
Switch functional test framework from Amulet to Zaza
Change-Id: Id55bf63cb34b6ccad876ddd47734b959c63ed742
2018-08-21 04:48:44 +02:00
Frode Nordahl 4ce35a4d5d Update repo to do ch-sync from Git
Change-Id: If2b71a1f7224ed3837fcfe8b4a0b8ef858e1f842
2017-09-25 18:26:02 +02:00
James Page 0b47a8c3d1 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-* and dfs-* naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: I037529196125e507bb15c1b0a3681a7457a6e8d1
2016-07-18 15:50:32 +01:00
Billy Olsen 27934f48fe Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: I106364c5ac15084fce984120360264cb90354c16
2016-03-15 20:12:52 -07:00
Ryan Beisner 212acef05e Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:44:55 +00:00
Ryan Beisner f51ace152d * amulet test update - switch svc restart check to validate_service_config_changed
* update makefile for unit test verbose
 * update amulet test dependencies
 * sync tests/charmhelpers for svc restart check race fix
2015-08-28 05:45:44 +00:00
Ryan Beisner edb27eb99e update makefile, amulet setup 2015-07-01 04:02:23 +00:00
Ryan Beisner 6ebb842c26 auto Makefile test target (amulet): bump juju test timeout to 2700s (same value as the juju-deployer default). Also remove explicit test names, which will cause all +x files in ./tests to be executed (as bundletester does by default). 2015-04-16 21:32:02 +00:00
Ryan Beisner b8cbbb65f2 auto add AMULET_OS_VIP to preserved env vars in makefile 2015-04-16 21:31:54 +00:00
Corey Bryant 1341848218 Update Makefile flake8 cmd 2015-03-19 21:09:44 +00:00
Corey Bryant ece7c05e39 Add deploy from source action support and various fixups after rebase 2015-03-13 09:52:11 +00:00
Corey Bryant f5fb058f9f Amulet test fixes:
* Makefile: Only run precise-icehouse and trusty-icehouse tests by default
    and increase test timeout
  * t/00-setup: Add more required dependencies
  * t/README: Mention charm-tools dependency
  * t/basic_deployment.py:
    - Specify use of unstable charms
    - Use dicts in add_services
    - Add re-authentication support due to restart test
    - KeystoneAdmin and KeystoneServiceAdmin were removed in revno 78 so
      remove them from test_roles().
    - Increase sleep time for restart test
    - Cleanup on test failure
2014-09-27 21:32:11 +00:00
James Page 8b3f3a5cb1 Resync helpers 2014-07-02 09:19:37 +01:00
Corey Bryant 4584ddc8b7 Add initial Amulet basic tests 2014-06-24 17:11:36 +00:00
Corey Bryant 329c9f6b71 Move charm-helpers.yaml to charm-helpers-hooks.yaml and
add charm-helpers-tests.yaml.
2014-06-24 17:10:29 +00:00
James Page 11c194da99 [trivial] Ensure lint and test pass before publish 2014-05-21 11:13:58 +01:00
James Page 6c0dbff959 [niedbalski] Force use of http for key imports 2014-05-02 10:43:13 +01:00
James Page a3f42101cc Final tidy 2014-04-10 17:00:28 +01:00
Ante Karamatic c648f7d196 Rewrite charm to get it more in line with other OpenStack charms.
Added support for contexts and templating. Makes use of charm-helpers
instead of relaying on its own tools (probably could use some additional work).

HA is currently non-functional. ETA for fixing: less than 2 days.
2014-02-25 12:34:13 +01:00