Increase test timeout for 2 tests in TestImageProxy class

The tests TestImageProxy.test_wait_for_task_error_396 and
TestImageProxy.test_wait_for_task_error_396 from
openstack.tests.unit.image.v2.test_proxy are failing in some build
environments with:

openstack.exceptions.ResourceTimeout: Timeout waiting for Task:id to \
    transition to success

Increasing the timeout hopefully helps.

Change-Id: I74714bfae1d488049d25701efcaad823b315631b
This commit is contained in:
Thomas Bechtold 2019-10-31 11:17:52 +01:00
parent 93d0a7166a
commit 561c3a6831
1 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ class TestImageProxy(test_proxy_base.TestProxyBase):
'fetch', mock_fetch):
result = self.proxy.wait_for_task(
res, interval=0.01, wait=0.1)
res, interval=0.01, wait=0.5)
self.assertEqual('success', result.status)
@ -336,7 +336,7 @@ class TestImageProxy(test_proxy_base.TestProxyBase):
'fetch', mock_fetch):
result = self.proxy.wait_for_task(
res, interval=0.01, wait=0.1)
res, interval=0.01, wait=0.5)
self.assertEqual('success', result.status)