From be488d933668cbdb83de017c666e8a54a6623546 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 20 Jan 2019 14:39:45 +0100 Subject: Slightly improve heat_ims MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It increases timeouts which could be reached if shared bandwidth (functest-virtual [1]). [1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-vnf-latest-heat_ims-run-4/results/functest.log Change-Id: I29adcd9ea88bbccbaef9ba7f8e155d37a3217433 Signed-off-by: Cédric Ollivier (cherry picked from commit 9bb9d8d495317fe7e3aaeb7082d9662f211eafec) --- functest/opnfv_tests/vnf/ims/heat_ims.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functest/opnfv_tests/vnf/ims/heat_ims.py b/functest/opnfv_tests/vnf/ims/heat_ims.py index 462fe7fee..7bd4f207e 100644 --- a/functest/opnfv_tests/vnf/ims/heat_ims.py +++ b/functest/opnfv_tests/vnf/ims/heat_ims.py @@ -101,7 +101,7 @@ class HeatIms(singlevm.VmReady2): domain=self.project.domain.id) self.keypair = self.cloud.create_keypair( '{}-kp_{}'.format(self.case_name, self.guid)) - self.__logger.debug("keypair: %s", self.keypair) + self.__logger.info("keypair: %s", self.keypair.private_key) if self.deploy_vnf() and self.test_vnf(): self.result = 100 @@ -160,7 +160,7 @@ class HeatIms(singlevm.VmReady2): self.__logger.debug("servers: %s", servers) for server in servers: if not self.check_regex_in_console( - server.name, regex='Cloud-init .* finished at ', loop=60): + server.name, regex='Cloud-init .* finished at ', loop=240): return False if 'ellis' in server.name: self.__logger.debug("server: %s", server) -- cgit 1.2.3-korg