Merge "Add mising timeout to ApplicationCatalogClient"

This commit is contained in:
Jenkins 2017-04-21 08:41:43 +00:00 committed by Gerrit Code Review
commit 80b4569ae0

View File

@ -54,7 +54,7 @@ class ApplicationCatalogClient(rest_client.RestClient):
endpoint = self.base_url
url = endpoint + uri
resp = requests.post(url, files={package_name: files}, data=post_body,
headers=headers)
headers=headers, timeout=self.build_timeout)
self.expected_success(200, resp.status_code)
return self._parse_resp(resp.text)