From 6fd7e1bb0bca3b20808b60568ae03838538add76 Mon Sep 17 00:00:00 2001 From: Volodymyr Rozhanskyy Date: Wed, 5 Oct 2016 12:30:03 +0300 Subject: [PATCH] increase share create time out Change-Id: Ia96b79e2fa313952d95ce6abd969456e522066d2 --- plugin_test/helpers/os_manila_actions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin_test/helpers/os_manila_actions.py b/plugin_test/helpers/os_manila_actions.py index d86fdd7..9e81a5d 100644 --- a/plugin_test/helpers/os_manila_actions.py +++ b/plugin_test/helpers/os_manila_actions.py @@ -151,8 +151,9 @@ class ManilaActions(common.Common): """Waits for a share to reach a given status.""" wait(lambda: self.get_share(share_name).status == status, - timeout=60 * 5, interval=5, - timeout_msg="Share didn't get status avaliable") + interval=5, timeout=60 * 10, + timeout_msg="Share didn't get status:{0}.Status is {1}".format( + status, self.get_share(share_name).status)) def add_acc_rule(self, share_id, acc_type='ip', rule=None, acc_level='rw'): """Add access rule for specific share"""