From: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
Date: Tue, 27 Jun 2017 11:50:02 +0000 (+0200)
Subject: Increase timeout of Open Baton installation
X-Git-Tag: danube.3.RC1~3^2
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2bf53c74f983352067310ea5007146566f22a41d;p=functest.git

Increase timeout of Open Baton installation

Change-Id: Ifdc24a3fc9e2c315b41f9e68bccb88df36252b0c
JIRA: ORCHESTRA-14
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
---

diff --git a/functest/opnfv_tests/vnf/ims/orchestra_ims.py b/functest/opnfv_tests/vnf/ims/orchestra_ims.py
index 8ea69df90..e7e2d818e 100644
--- a/functest/opnfv_tests/vnf/ims/orchestra_ims.py
+++ b/functest/opnfv_tests/vnf/ims/orchestra_ims.py
@@ -273,7 +273,7 @@ class ImsVnf(vnf_base.VnfOnBoardingBase):
 
         self.logger.info("Waiting for Open Baton NFVO to be up and running...")
         x = 0
-        while x < 100:
+        while x < 200:
             if servertest(floatip, "8080"):
                 break
             else:
@@ -283,7 +283,7 @@ class ImsVnf(vnf_base.VnfOnBoardingBase):
                 time.sleep(5)
                 x += 1
 
-        if x == 100:
+        if x == 200:
             self.step_failure("Open Baton is not started correctly")
 
         self.ob_ip = floatip