From 38cba4aa2c2cdfd17ea1aa0c29ee14ed7b2bf035 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 12 Feb 2019 21:52:59 +0100 Subject: Increase timeout to reach vnf API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It increases the timeout in cloudify-based and clearwater-based testcases to allow running them in parallel (functest-virtual) [1]. [1] https://build.opnfv.org/ci/job/functest-latest-gate/54/ Change-Id: Ic637cb46a1380a683cb1e2b633cb97ac3be6affa Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/vnf/ims/clearwater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functest/opnfv_tests/vnf/ims') diff --git a/functest/opnfv_tests/vnf/ims/clearwater.py b/functest/opnfv_tests/vnf/ims/clearwater.py index cc4d4be04..605ba8a2a 100644 --- a/functest/opnfv_tests/vnf/ims/clearwater.py +++ b/functest/opnfv_tests/vnf/ims/clearwater.py @@ -83,7 +83,7 @@ class ClearwaterTesting(object): return output_dict def _create_ellis_account(self, account_url, params): - i = 50 + i = 80 for iloop in range(i): try: req = requests.post(account_url, data=params) @@ -98,7 +98,7 @@ class ClearwaterTesting(object): except Exception: # pylint: disable=broad-except self.logger.info( "try %s: cannot create ellis account", iloop + 1) - time.sleep(25) + time.sleep(30) raise Exception( "Unable to create an account {}".format( params.get('full_name'))) -- cgit 1.2.3-korg