diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-10 17:38:48 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-10 17:38:48 +0000 |
commit | fa6ccf2d1fbb7f6644d3f3869d03953c346e2f61 (patch) | |
tree | 79d92ba075d3372ebc35fc6cd090271a92bdb0fc /heat_integrationtests/common | |
parent | 01d97b1edc75429653364dc4b3a4ef61016e4ca9 (diff) | |
parent | 199e4ac322f815c774895b0b20479264dec8853f (diff) | |
download | heat-fa6ccf2d1fbb7f6644d3f3869d03953c346e2f61.tar.gz |
Merge "Implement handle_<action>_cancel for SoftwareDeployment"
Diffstat (limited to 'heat_integrationtests/common')
-rw-r--r-- | heat_integrationtests/common/test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py index 45877707b..d43deceb2 100644 --- a/heat_integrationtests/common/test.py +++ b/heat_integrationtests/common/test.py @@ -565,12 +565,13 @@ class HeatIntegrationTest(testscenarios.WithScenarios, parameters=None, environment=None, tags=None, expected_status='CREATE_COMPLETE', disable_rollback=True, enable_cleanup=True, - environment_files=None): + environment_files=None, timeout=None): name = stack_name or self._stack_rand_name() templ = template or self.template templ_files = files or {} params = parameters or {} env = environment or {} + timeout_mins = timeout or self.conf.build_timeout self.client.stacks.create( stack_name=name, template=templ, @@ -579,7 +580,8 @@ class HeatIntegrationTest(testscenarios.WithScenarios, parameters=params, environment=env, tags=tags, - environment_files=environment_files + environment_files=environment_files, + timeout_mins=timeout_mins ) if expected_status not in ['ROLLBACK_COMPLETE'] and enable_cleanup: self.addCleanup(self._stack_delete, name) |