Merge "added delay before share create"

This commit is contained in:
Jenkins 2016-10-11 12:16:41 +00:00 committed by Gerrit Code Review
commit c34d95253c
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ from fuelweb_test.settings import VERIFY_SSL
from keystoneauth1.session import Session as KeystoneSession from keystoneauth1.session import Session as KeystoneSession
from keystoneclient.auth.identity import v2 from keystoneclient.auth.identity import v2
from manilaclient.v2 import client from manilaclient.v2 import client
from time import sleep
class ManilaActions(common.Common): class ManilaActions(common.Common):
"""Manila client class to operate with Manila API""" """Manila client class to operate with Manila API"""
@ -129,7 +129,7 @@ class ManilaActions(common.Common):
public_share=True): public_share=True):
"""Create share""" """Create share"""
sleep(20)
manila_client = client.Client('2', session=self.__keystone_ses) manila_client = client.Client('2', session=self.__keystone_ses)
share = manila_client.shares.create( share = manila_client.shares.create(
share_proto=protocol, share_proto=protocol,