prep liberty amulet tests, update readme

This commit is contained in:
Ryan Beisner 2015-10-07 18:03:38 +00:00
parent 3e90a323fb
commit b76c87f181
4 changed files with 32 additions and 0 deletions

0
tests/019-basic-vivid-kilo Normal file → Executable file
View File

12
tests/020-basic-trusty-liberty Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/python
"""Amulet tests on a basic nova cloud controller deployment on
trusty-liberty."""
from basic_deployment import NovaCCBasicDeployment
if __name__ == '__main__':
deployment = NovaCCBasicDeployment(series='trusty',
openstack='cloud:trusty-liberty',
source='cloud:trusty-updates/liberty')
deployment.run_tests()

10
tests/021-basic-wily-liberty Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/python
"""Amulet tests on a basic nova cloud controller deployment on
wily-liberty."""
from basic_deployment import NovaCCBasicDeployment
if __name__ == '__main__':
deployment = NovaCCBasicDeployment(series='wily')
deployment.run_tests()

View File

@ -1,6 +1,16 @@
This directory provides Amulet tests that focus on verification of Nova Cloud
Controller deployments.
test_* methods are called in lexical sort order, although each individual test
should be idempotent, and expected to pass regardless of run order.
Test name convention to ensure desired test order:
1xx service and endpoint checks
2xx relation checks
3xx config checks
4xx functional checks
9xx restarts and other final checks
In order to run tests, you'll need charm-tools installed (in addition to
juju, of course):
sudo add-apt-repository ppa:juju/stable