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
This commit is contained in:
Hongbin Lu 2017-11-22 13:10:30 -05:00
parent df0b2c4fbb
commit a919c62ae0

View File

@ -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():