From ed32cb74df41fb92e18e816861e589bdcae42f93 Mon Sep 17 00:00:00 2001 From: Volodymyr Rozhanskyy Date: Tue, 11 Oct 2016 13:29:49 +0300 Subject: [PATCH] added delay before share create Change-Id: Ia82470333b65ea1b1f3e129b007baa2ebfd751bd --- plugin_test/helpers/os_manila_actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_test/helpers/os_manila_actions.py b/plugin_test/helpers/os_manila_actions.py index 9e81a5d..bc74f5d 100644 --- a/plugin_test/helpers/os_manila_actions.py +++ b/plugin_test/helpers/os_manila_actions.py @@ -20,7 +20,7 @@ from fuelweb_test.settings import VERIFY_SSL from keystoneauth1.session import Session as KeystoneSession from keystoneclient.auth.identity import v2 from manilaclient.v2 import client - +from time import sleep class ManilaActions(common.Common): """Manila client class to operate with Manila API""" @@ -129,7 +129,7 @@ class ManilaActions(common.Common): public_share=True): """Create share""" - + sleep(20) manila_client = client.Client('2', session=self.__keystone_ses) share = manila_client.shares.create( share_proto=protocol,