aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/cinder
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-04 15:10:27 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-04 15:20:32 +0200
commit8faf2e3365fc5acc0167a05a919eef564f11491a (patch)
treeea8d7f6871e15de0ebff2aedf9f263e8736f6158 /functest/opnfv_tests/openstack/cinder
parent61881e3926165a10657d02ebe627636cf6a61ecc (diff)
Make synchronous Shade calls
It makes difficult to find the issues (floating ip, boot, ssh connection, etc...) for a small benefit regarding the current testcase implementations. It increases the default floating ip timeout because it has been reached when running Functest multiple times in parallel. It may be the root cause when running singlevm vs XCI (in that case, neutron api and agents are hosted in a nested vm). Change-Id: Ia97e04902321644c207c59987283754318aee5e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/cinder')
-rw-r--r--functest/opnfv_tests/openstack/cinder/cinder_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/cinder/cinder_test.py b/functest/opnfv_tests/openstack/cinder/cinder_test.py
index bc1e83097..bbed9a64f 100644
--- a/functest/opnfv_tests/openstack/cinder/cinder_test.py
+++ b/functest/opnfv_tests/openstack/cinder/cinder_test.py
@@ -60,7 +60,7 @@ class CinderCheck(singlevm.SingleVm2):
(self.fip2, self.ssh2) = self.connect(self.vm2)
self.volume = self.cloud.create_volume(
name='{}-volume_{}'.format(self.case_name, self.guid), size='2',
- timeout=self.volume_timeout)
+ timeout=self.volume_timeout, wait=True)
def _write_data(self):
assert self.cloud