From a919c62ae058a74eda5a69aca9262cb90db83ea0 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Wed, 22 Nov 2017 13:10:30 -0500 Subject: [PATCH] Increase the timeout for creating container The default timeout is 60 seconds, which might not be enough for pulling down docker image from DockerHub. There are several intermittent gate failure due to that. This patch increases the timeout to 120 seconds. Change-Id: Ifc0b803ffd0c0294b544dec9f5ccc8bca603ddb4 --- zun_tempest_plugin/tests/tempest/api/clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zun_tempest_plugin/tests/tempest/api/clients.py b/zun_tempest_plugin/tests/tempest/api/clients.py index 3807056..fbe98ac 100644 --- a/zun_tempest_plugin/tests/tempest/api/clients.py +++ b/zun_tempest_plugin/tests/tempest/api/clients.py @@ -201,7 +201,7 @@ class ZunClient(rest_client.RestClient): return True else: return False - utils.wait_for_condition(is_container_in_desired_state) + utils.wait_for_condition(is_container_in_desired_state, timeout=120) def ensure_container_deleted(self, container_id): def is_container_deleted():