commit | 168fc023259eb5676fe3054699e4089048b2fa9b | [log] [tgz] |
---|---|---|
author | Hanna Arhipova <harhipova@mirantis.com> | Fri Sep 04 14:36:17 2020 +0300 |
committer | Hanna Arhipova <harhipova@mirantis.com> | Fri Sep 04 15:51:40 2020 +0300 |
tree | bbc4b7506ea8029f3c01edab438a9ee266f01a77 | |
parent | 8bc0a0f6e626d09f6356c119e4472356631cc944 [diff] |
Don't retry if heat stack creation is failed PROD-35718 Change-Id: I8569c07526b140031ec003f00293ca93f9ef2ada
diff --git a/tcp_tests/managers/envmanager_heat.py b/tcp_tests/managers/envmanager_heat.py index 2460988..30c4850 100644 --- a/tcp_tests/managers/envmanager_heat.py +++ b/tcp_tests/managers/envmanager_heat.py
@@ -557,7 +557,7 @@ def safe_heat_stack_create(): self.__stacks.create(**fields) - @retry(exceptions.EnvironmentBadStatus, delay=60, tries=3) + @retry(exceptions.EnvironmentBadStatus, delay=60, tries=1) def safe_create(): self.delete_environment() safe_heat_stack_create()