From b158b75d2e90867dde3be7314f55729cd2b03057 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Wed, 19 Apr 2017 16:49:51 +0100 Subject: [PATCH] Add mising timeout to ApplicationCatalogClient Requests made by tests using this client were not specifiying a timeout, causing them to appear to hang indefinitely when there's a problem. Change-Id: Ibcbe7a4af8566339c68265c11df9a09ebbe7f6ca --- .../services/application_catalog/application_catalog_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/murano_tempest_tests/services/application_catalog/application_catalog_client.py b/murano_tempest_tests/services/application_catalog/application_catalog_client.py index 9a0d7ca..898ef2b 100644 --- a/murano_tempest_tests/services/application_catalog/application_catalog_client.py +++ b/murano_tempest_tests/services/application_catalog/application_catalog_client.py @@ -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)