Add sleep as it seems tests are running before cinder <-> mysql relation has finished causing random failures

This commit is contained in:
Liam Young 2015-02-17 14:52:03 +00:00
parent be95820aa7
commit f603f4bcab

View File

@ -100,6 +100,8 @@ class CinderBasicDeployment(OpenStackAmuletDeployment):
self.glance = u.authenticate_glance_admin(self.keystone)
u.log.debug('openstack rel: {}'.format(self._get_openstack_release()))
# Wait for relations to settle
sleep(120)
def service_restarted(self, sentry_unit, service, filename,
pgrep_full=False, sleep_time=60):