summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-31 11:01:34 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-31 11:53:52 +0200
commitfb1fafba4fa172fffe92d33ed71adaeb866b5c05 (patch)
treea3e84e2e9f61df1191cfea2982569dbb96d0bf86
parent26e8b3c71ec73e3dc73bc2a3b19df8cfc30863f8 (diff)
Switch create_server timeout to default value
60s was successfully reached when running all containers (3 containers * 3 branches) in parallel. It also removes the wait attribute (the current impl will meet a possible next asynchronous design) which is useless here. For the time being, only cloudify needs an extra timeout. Change-Id: Ic7741b4c1a3223be076fb69ef70a3cb6c05456c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1b75bbbc4e842ca2c8c14957261c88692f9e4828)
-rw-r--r--functest/core/singlevm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/singlevm.py b/functest/core/singlevm.py
index 768e67d0e..2a8ae879a 100644
--- a/functest/core/singlevm.py
+++ b/functest/core/singlevm.py
@@ -49,7 +49,7 @@ class VmReady1(tenantnetwork.TenantNetwork1):
flavor_alt_ram = 1024
flavor_alt_vcpus = 1
flavor_alt_disk = 1
- create_server_timeout = 60
+ create_server_timeout = 180
def __init__(self, **kwargs):
if "case_name" not in kwargs:
@@ -179,7 +179,7 @@ class VmReady1(tenantnetwork.TenantNetwork1):
vm1 = self.cloud.create_server(
name if name else '{}-vm_{}'.format(self.case_name, self.guid),
image=self.image.id, flavor=self.flavor.id,
- auto_ip=False, wait=True, network=self.network.id,
+ auto_ip=False, network=self.network.id,
timeout=self.create_server_timeout, **kwargs)
vm1 = self.cloud.wait_for_server(vm1, auto_ip=False)
self.__logger.debug("vm: %s", vm1)