aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/ims/orchestra_openims.py
diff options
context:
space:
mode:
authorMichael Pauls <michael.pauls@fokus.fraunhofer.de>2017-09-18 11:19:04 +0200
committerMichael Pauls <michael.pauls@fokus.fraunhofer.de>2017-09-18 11:19:04 +0200
commitf7348cba120c5bd2f4df51b1a290bea4c0d01a61 (patch)
tree0ec70a58b90fc79905efeebc986b7fdbc05535b3 /functest/opnfv_tests/vnf/ims/orchestra_openims.py
parent3e22a3e6d5b4df227f2ca96d214a7c78edd56163 (diff)
increase timeout of NFVO installation
some pods are less powerful and require more time for the installation of the orchestrator Change-Id: Iebd39c0ef8f3dcfa7fecb1e507b2f05890b5c490 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/orchestra_openims.py')
-rw-r--r--functest/opnfv_tests/vnf/ims/orchestra_openims.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/functest/opnfv_tests/vnf/ims/orchestra_openims.py b/functest/opnfv_tests/vnf/ims/orchestra_openims.py
index fa700890c..0821e42ae 100644
--- a/functest/opnfv_tests/vnf/ims/orchestra_openims.py
+++ b/functest/opnfv_tests/vnf/ims/orchestra_openims.py
@@ -488,18 +488,18 @@ class OpenImsVnf(vnf.VnfOnBoarding):
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
- while timeout < 200:
+ while timeout < 45:
if servertest(
self.mano['details']['fip'].ip,
"8080"):
break
else:
self.logger.info("Open Baton NFVO is not started yet (%ss)",
- (timeout * 5))
- time.sleep(5)
+ (timeout * 60))
+ time.sleep(60)
timeout += 1
- if timeout >= 200:
+ if timeout >= 45:
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)
@@ -592,13 +592,13 @@ class OpenImsVnf(vnf.VnfOnBoarding):
while self.mano['details']['nsr'].get("status") != 'ACTIVE' \
and self.mano['details']['nsr'].get("status") != 'ERROR':
timeout += 1
- self.logger.info("NSR is not yet ACTIVE... (%ss)", 5 * timeout)
- if timeout == 300:
- self.logger.error("INACTIVE NSR after %s sec..", 5 * timeout)
+ self.logger.info("NSR is not yet ACTIVE... (%ss)", 60 * timeout)
+ if timeout == 30:
+ self.logger.error("INACTIVE NSR after %s sec..", 60 * timeout)
duration = time.time() - start_time
self.details["vnf"].update(status='FAIL', duration=duration)
return False
- time.sleep(5)
+ time.sleep(60)
self.mano['details']['nsr'] = json.loads(
nsr_agent.find(self.mano['details']['nsr'].get('id')))