Update amulet test definitions; Wait for workload status before testing.
This commit is contained in:
parent
391a2001bb
commit
a8d160208d
0
tests/019-basic-trusty-mitaka
Normal file → Executable file
0
tests/019-basic-trusty-mitaka
Normal file → Executable file
@ -27,6 +27,13 @@ class CephOsdBasicDeployment(OpenStackAmuletDeployment):
|
|||||||
self._add_relations()
|
self._add_relations()
|
||||||
self._configure_services()
|
self._configure_services()
|
||||||
self._deploy()
|
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()
|
self._initialize_tests()
|
||||||
|
|
||||||
def _add_services(self):
|
def _add_services(self):
|
||||||
@ -114,9 +121,6 @@ class CephOsdBasicDeployment(OpenStackAmuletDeployment):
|
|||||||
u.log.debug('openstack release str: {}'.format(
|
u.log.debug('openstack release str: {}'.format(
|
||||||
self._get_openstack_release_string()))
|
self._get_openstack_release_string()))
|
||||||
|
|
||||||
# Let things settle a bit original moving forward
|
|
||||||
time.sleep(30)
|
|
||||||
|
|
||||||
# Authenticate admin with keystone
|
# Authenticate admin with keystone
|
||||||
self.keystone = u.authenticate_keystone_admin(self.keystone_sentry,
|
self.keystone = u.authenticate_keystone_admin(self.keystone_sentry,
|
||||||
user='admin',
|
user='admin',
|
||||||
|
Loading…
Reference in New Issue
Block a user