aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests
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/tests
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/tests')
-rw-r--r--functest/tests/unit/openstack/cinder/test_cinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/openstack/cinder/test_cinder.py b/functest/tests/unit/openstack/cinder/test_cinder.py
index 5f2c9b4c6..4052408d9 100644
--- a/functest/tests/unit/openstack/cinder/test_cinder.py
+++ b/functest/tests/unit/openstack/cinder/test_cinder.py
@@ -88,7 +88,7 @@ class CinderTesting(unittest.TestCase):
self.cinder.cloud.create_volume.assert_called_once_with(
name='{}-volume_{}'.format(
self.cinder.case_name, self.cinder.guid),
- size='2', timeout=self.cinder.volume_timeout)
+ size='2', timeout=self.cinder.volume_timeout, wait=True)
@mock.patch('scp.SCPClient.put')
def test_write(self, *args):