Update amulet test definitions; Wait for workload status before testing.

This commit is contained in:
Ryan Beisner 2016-02-12 21:23:26 +00:00
parent 391a2001bb
commit a8d160208d
2 changed files with 7 additions and 3 deletions

0
tests/019-basic-trusty-mitaka Normal file → Executable file
View File

View File

@ -27,6 +27,13 @@ class CephOsdBasicDeployment(OpenStackAmuletDeployment):
self._add_relations()
self._configure_services()
self._deploy()
u.log.info('Waiting on extended status checks...')
exclude_services = ['mysql']
# Wait for deployment ready msgs, except exclusions
self._auto_wait_for_status(exclude_services=exclude_services)
self._initialize_tests()
def _add_services(self):
@ -114,9 +121,6 @@ class CephOsdBasicDeployment(OpenStackAmuletDeployment):
u.log.debug('openstack release str: {}'.format(
self._get_openstack_release_string()))
# Let things settle a bit original moving forward
time.sleep(30)
# Authenticate admin with keystone
self.keystone = u.authenticate_keystone_admin(self.keystone_sentry,
user='admin',