amulet tests: enable debug on services; add and enable known-passing U:OS targets (no systemd releases yet)

This commit is contained in:
Ryan Beisner 2015-12-17 14:24:42 +00:00
parent 369f0914a6
commit 71bf9ac79e
6 changed files with 55 additions and 0 deletions

11
tests/016-basic-trusty-juno Executable file
View File

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

11
tests/017-basic-trusty-kilo Executable file
View File

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

View File

@ -0,0 +1,9 @@
#!/usr/bin/python
"""Amulet tests on a basic hacluster deployment on vivid-kilo."""
from basic_deployment import HAClusterBasicDeployment
if __name__ == '__main__':
deployment = HAClusterBasicDeployment(series='vivid')
deployment.run_tests()

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

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

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

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

View File

@ -58,9 +58,13 @@ class HAClusterBasicDeployment(OpenStackAmuletDeployment):
def _configure_services(self):
keystone_config = {'admin-password': 'openstack',
'admin-token': 'ubuntutesting',
'debug': 'true',
'verbose': 'true',
'vip': self._vip}
mysql_config = {'dataset-size': '50%'}
hacluster_config = {'debug': 'true'}
configs = {'keystone': keystone_config,
'hacluster': hacluster_config,
'mysql': mysql_config}
super(HAClusterBasicDeployment, self)._configure_services(configs)