aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-06-15 11:58:10 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-06-15 18:35:07 +0200
commit53d3b91075a0cc5f6c215ac66a22449a28e9c7bd (patch)
tree22c34205127b5db5380e1a59354a3ce16d077461
parentbea870fc1055efea0293ff672cbcb3126e73cf06 (diff)
Increase timeout in shaker and vmtp
Running them in parallel of rally full and jobs asks for a increase. Change-Id: Ib2369d384ac839fb46031411e1985ac402da0c1e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6a4195b2dbdfeecb6b75450d28039097fd71d8eb)
-rw-r--r--functest/opnfv_tests/openstack/shaker/shaker.py1
-rw-r--r--functest/opnfv_tests/openstack/vmtp/vmtp.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/shaker/shaker.py b/functest/opnfv_tests/openstack/shaker/shaker.py
index 57e033e8e..917c65980 100644
--- a/functest/opnfv_tests/openstack/shaker/shaker.py
+++ b/functest/opnfv_tests/openstack/shaker/shaker.py
@@ -40,6 +40,7 @@ class Shaker(singlevm.SingleVm2):
port = 9000
ssh_connect_loops = 12
create_server_timeout = 300
+ check_console_loop = 12
shaker_timeout = '3600'
quota_instances = -1
quota_cores = -1
diff --git a/functest/opnfv_tests/openstack/vmtp/vmtp.py b/functest/opnfv_tests/openstack/vmtp/vmtp.py
index dc480c4f3..822c1b652 100644
--- a/functest/opnfv_tests/openstack/vmtp/vmtp.py
+++ b/functest/opnfv_tests/openstack/vmtp/vmtp.py
@@ -50,6 +50,7 @@ class Vmtp(singlevm.VmReady2):
flavor_vcpus = 1
flavor_disk = 0
create_server_timeout = 300
+ ssh_retry_timeout = 240
def __init__(self, **kwargs):
if "case_name" not in kwargs:
@@ -122,6 +123,7 @@ class Vmtp(singlevm.VmReady2):
self.guid)
vmtp_conf["dns_nameservers"] = [env.get('NAMESERVER')]
vmtp_conf["generic_retry_count"] = self.create_server_timeout // 2
+ vmtp_conf["ssh_retry_count"] = self.ssh_retry_timeout // 2
conf.write(yaml.dump(vmtp_conf))
def run_vmtp(self):